[NTLUG:Discuss] screwed up rights!
Richard Geoffrion
ntlug at rain.lewisville.tx.us
Mon Jul 1 13:41:00 CDT 2002
Slackware 8.1 w/reiserfs (No Xwindows/KDE/or Gnome)
------------------------------------------------------------------------
I just did an ls -l in the /usr/src directory of a new server I'm building
and I have to say that I have NO idea why the rights in this directory are
so screwed up. Check this out.
['ls -l /usr/src']
drwxr-xr-x 5 2222 2222 784 Jun 27 17:36 Net_SSLeay.pm-1.17/
drwxr-xr-x 2 root root 224 Jun 28 00:43 autorespond-2.0.2/
drwxrwxrwx 23 richard users 2792 Jul 1 13:26 courier-imap-1.5.1/
drwxr-xr-x 5 root bin 19160 Jun 28 13:40 ezmlm-0.53/
drwxrwxr-x 2 500 500 48 Jun 28 13:32 ezmlm-idx-0.40/
drwxr-xr-x 12 root root 1296 Jun 27 20:15 httpd-2.0.39/
lrwxrwxrwx 1 root root 12 Jun 27 07:05 linux ->
linux-2.4.18/
drwxr-xr-x 15 root root 808 Jun 27 19:30 linux-2.4.18/
drwxr-xr-x 2 root bin 24432 Jun 27 21:48 qmail-1.03/
drwxr-xr-x 4 500 500 1904 Jun 29 00:53 qmailadmin-1.0.2/
drwxr-xr-x 7 root root 168 Feb 23 18:02 rpm/
drwxr-xr-x 9 1009 106 400 Jun 18 20:13 samba-2.2.5/
drwxrwxrwx 25 richard users 2104 Jul 1 10:02 sqwebmail-3.3.6/
drwxr-xr-x 2 root root 11504 Jun 27 20:23 ucspi-tcp-0.88/
drwxr-xr-x 9 500 500 4184 Jun 28 01:34 vpopmail-5.2.1/
[/'ls -l /usr/src']
Who the heck is user and group 2222! It's not in my /etc/passwd file!
All of these source code directories were extracted using the command
'tar -zxvf /usr/download/example.gz'
Does THAT have anything to do with it? How SHOULD I be extracting files?
Do I need to do anything to fix the current rights? (chown -R root:root
/usr/src; chown -R richard:users /usr/src/courier-imap-1.5.1)
-Richard
More information about the Discuss
mailing list