Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jan 1998 18:50:03 -0500
From:      Bradford Cervenak <btc@ziplink.net>
To:        "Randy A. Katz" <randyk@ccsales.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Permissions Problem - User Doesn't See userid (name) 
Message-ID:  <199801082350.SAA00813@btc.ziplink.net>
In-Reply-To: Your message of "Thu, 08 Jan 1998 10:33:54 PST." <3.0.5.32.19980108103354.03739e80@ccsales.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Randy,

Check the permissions on your /etc directory and make sure group and other can 
read it.
It looks like the user can't read /etc/group, etc.

Mine looks like this:

drwxr-xr-x  10 root  wheel  2048 Jan  4 11:43 /etc

Regards,

Bradford Cervenak

> Hello,
> 
> 
> I woke up this morning and one of my machines is doing something VERY
> strange. root sees the user's files as owned by them:
> 
> 
> <bigger>total 13
> 
> -rwx--x--x  1 notts  notts   466 Oct 30 18:32 .cshrc
> 
> -rwx--x--x  1 notts  notts   619 Oct 30 18:32 .login
> 
> -rwx--x--x  1 notts  notts   290 Oct 30 18:32 .mailrc
> 
> -rwx--x--x  1 notts  notts  1203 Oct 30 18:32 .profile
> 
> -rwx--x--x  1 notts  notts   257 Oct 30 18:32 .rhosts
> 
> drwx--x--x  6 notts  notts   512 Oct 30 18:33 Counter
> 
> drwxr-xr-x  3 notts  notts   512 Jan  2 11:19 autoreply
> 
> lrwxrwxrwx  1 root   notts    13 Oct 30 18:32 cgi -> httpd/cgi-bin
> 
> -rw-------  1 notts  notts   556 Jan  4 14:46 dead.letter
> 
> -rwx--x--x  1 notts  notts     0 Apr  3  1997 dictionary.txt
> 
> -rw-r--r--  1 root   notts     0 Jan  8 10:28 f.lst
> 
> lrwxrwxrwx  1 root   notts    12 Oct 30 18:32 html -> httpd/htdocs
> 
> drwx------  8 notts  notts   512 Dec  4 19:33 httpd
> 
> drwx------  2 notts  notts   512 Jun 30  1997 mail
> 
> drwx------  2 notts  notts   512 Dec 16 22:04 pop
> 
> drwx--x--x  2 notts  notts   512 Jan  1 14:54 security
> 
> </bigger>
> 
> but if I go in under the users login they see:
> 
> 
> <bigger>total 7
> 
> drwx--x--x  6 1238  1185  512 Oct 31 02:33 Counter
> 
> drwxr-xr-x  3 1238  1185  512 Jan  2 19:19 autoreply
> 
> lrwxrwxrwx  1 0     1185   13 Oct 31 02:32 cgi -> httpd/cgi-bin
> 
> -rw-------  1 1238  1185  556 Jan  4 22:46 dead.letter
> 
> -rwx--x--x  1 1238  1185    0 Apr  4  1997 dictionary.txt
> 
> -rw-r--r--  1 1238  1185    0 Jan  8 18:30 f.lst
> 
> lrwxrwxrwx  1 0     1185   12 Oct 31 02:32 html -> httpd/htdocs
> 
> drwx------  8 1238  1185  512 Dec  5 03:33 httpd
> 
> drwx------  2 1238  1185  512 Jun 30  1997 mail
> 
> drwx------  2 1238  1185  512 Dec 17 06:04 pop
> 
> drwx--x--x  2 1238  1185  512 Jan  1 22:54 security
> 
> </bigger>
> 
> 
> Notice the user # and not the name, also for group.
> 
> 
> Please, anyone, what is causing this? This is messing something else up
> on the system.
> 
> 
> Thanx,
> 
> Randy Katz
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801082350.SAA00813>