[CentOS] UID GID Problems.....

Frank.Brodbeck at klingel.de Frank.Brodbeck at klingel.de
Tue Jan 19 15:09:08 UTC 2010


Tom Bishop <bishoptf at gmail.com>  schrieb am 19.01.2010 15:53:52:

> 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.....

What do you mean by 'looking at the file permissions'? Do you mean
the file permissions of the tarball or the files inside the tarball?

Sometimes it can be helpful to provide the actual commands and it's
output :-/

What Brian tries to tell you is that if untarring as root the file
ownership and modes are preserved as displayed by e.g.:

tar tf archive.tar

HTH,
Frank.


More information about the CentOS mailing list