[CentOS] UID GID Problems.....

Tue Jan 19 15:54:28 UTC 2010
Tom Bishop <bishoptf at gmail.com>

Thanks guys, the light bulb finally went off, need more sleep ;).....so here
is what I think happened, so I run buntu at home on some PC's and had set
the uid to one of my users (my wife) to 1000 for nfs stuff, which is the
defaul range for ubuntu uid's.  So when I downloaded the file and untar the
users must have had a uid of a 1000 which on my system equated to my wifes
uid...LOL, was too late and it never crossed my mind so when I saw the owner
and group as my wife that it was just a shared uid...8>) Thanks for the tips


On Tue, Jan 19, 2010 at 9:09 AM, <Frank.Brodbeck at klingel.de> wrote:

> 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.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100119/8b871ee4/attachment-0005.html>