[CentOS] UID GID Problems.....

2010-01-19 Thread Tom Bishop
Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u etc but somehow it appears to have effected the root user. When I touch

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread m . roth
Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u snip If I understand you correctly, the user's files were all uid and gid

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread Brian Mathis
On Tue, Jan 19, 2010 at 8:43 AM, Tom Bishop bisho...@gmail.com wrote: Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'.  I had change a user uid and gid to 1000 via usermo -u

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread Tom Bishop
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. On Tue, Jan

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread m . roth
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. Right,

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread Frank . Brodbeck
Tom Bishop bisho...@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

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread Kai Schaetzl
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

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread John Doe
From: Tom Bishop bisho...@gmail.com 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

Re: [CentOS] UID GID Problems.....

2010-01-19 Thread Tom Bishop
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