Re: UID GID Problems.....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Tom Bishop <bishoptf@xxxxxxxxx>
>So I downloaded the tar file, wget.... running as root (su -).  Looking at the file permissions owner and group are root but when I untar the file the new directory and all of the files have the UID and GID set to 1000, which was another user and not the one that I logged in with.....

Which is the normal behavior...
If you tar /etc, you want to preserve file ownership...
If you untar etc.tar and all files would become owned by root, it would break many things...
If you need, look at -o or --owner tar options (man tar will help)...

JD


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux