Numbers Ownership after tarring

Paul Howarth paul at city-fan.org
Wed Apr 13 08:16:02 UTC 2005


On Wed, 2005-04-13 at 17:10 +0900, Mark Sargent wrote:
> Hi All,
> 
> why, when either using, tar --directory=dirpath -xzvf tarfilepath or tar 
> -xzvf tarfilepath the owner ship is like below,
> 
> drwxr-xr-x   7 52400 24067 4.0K Mar  4 20:24 phpMyAdmin-2.6.1-pl3
> 
> The downloaded files are saved in the dir, downloads, by the general 
> user, coolboarderguy. Cheers.

Those are the UID and GID of the original directory on the system that
the tarball was created on.

If you extract the tarball as a regular user instead of as root, you'll
own the files and directories yourself.

Paul
-- 
Paul Howarth <paul at city-fan.org>




More information about the users mailing list