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@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to