From owner-freebsd-questions Thu Jan 8 15:50:36 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA19661 for questions-outgoing; Thu, 8 Jan 1998 15:50:36 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from btc.ziplink.net (btc.ziplink.net [206.15.131.59]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA19655 for ; Thu, 8 Jan 1998 15:50:25 -0800 (PST) (envelope-from btc@btc.ziplink.net) Received: from btc (localhost.beinc.com [127.0.0.1]) by btc.ziplink.net (8.8.7/8.7.3) with ESMTP id SAA00813; Thu, 8 Jan 1998 18:50:04 -0500 (EST) Message-Id: <199801082350.SAA00813@btc.ziplink.net> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Randy A. Katz" cc: questions@FreeBSD.ORG Subject: Re: Permissions Problem - User Doesn't See userid (name) In-reply-to: Your message of "Thu, 08 Jan 1998 10:33:54 PST." <3.0.5.32.19980108103354.03739e80@ccsales.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Jan 1998 18:50:03 -0500 From: Bradford Cervenak Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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: > > > 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 > > > > but if I go in under the users login they see: > > > 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 > > > > > 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 >