Re: UID GID Problems.....

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



Tom Bishop wrote on Tue, 19 Jan 2010 07:43:50 -0600:

> When I touch files
> as root the correct uid and gid are root, however when untaring an archive
> the directory and files are uid and gid =1000.

Untarring *which* files? The standard behavior of tar is to keep the 
permissions etc. of the original. So, if they were owned by user x when 
tarring they will get untarred for user x. If you want to change this have a 
look at the section " Handling of file attributes:" of "tar --help".

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
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