ownership problem while extracting
hello guys,
i am facing a strange problem.
i have a xxx.tar.gz file now i am login to the server as root user.
but when i try and extract the file in any particular folder then all the files takes owner ship of user not root
-rwxrwxrwx 1 root root 1561319 Mar 22 13:10 xxx.tar.gz
this is the file and i am extracting to /var/www/html
drwxrwxr-x 9 tejas tejas 4096 Feb 17 04:59 administrator
drwxrwxr-x 3 tejas tejas 4096 Feb 17 04:59 cache
-rw-rw-r-- 1 tejas tejas 23333 Feb 16 23:48 CHANGELOG
drwxrwxr-x 16 tejas tejas 4096 Feb 17 04:59 components
-rw-rw-r-- 1 tejas tejas 3663 Feb 12 09:17 configuration.php-dist
drwxrwxr-x 2 tejas tejas 4096 Feb 17 04:59 editor
-rw-rw-r-- 1 tejas tejas 1269 Jan 24 23:18 globals.php
drwxrwxr-x 3 tejas tejas 4096 Feb 17 04:59 help
-rw-rw-r-- 1 tejas tejas 580 Jan 23 04:30 htaccess.txt
drwxrwxr-x 6 tejas tejas 4096 Feb 17 04:59 images
drwxrwxr-x 9 tejas tejas 4096 Feb 17 04:59 includes
-rw-rw-r-- 1 tejas tejas 3365 Feb 10 08:42 index2.php
-rw-rw-r-- 1 tejas tejas 5332 Feb 16 07:33 index.php
-rw-rw-r-- 1 tejas tejas 3725 Jan 23 04:40 INSTALL
owner ship changes to tejas.tejas instead root.root
|