Re: UID GID Problems.....

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



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@xxxxxxxxxx> wrote:
Tom Bishop <bishoptf@xxxxxxxxx>  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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
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