From owner-freebsd-questions Sun Jun 2 0:50:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from uemsmwscpf1.cpf.navy.mil (rnoc3.cpf.navy.mil [199.124.15.38]) by hub.freebsd.org (Postfix) with SMTP id 26B4D37B405 for ; Sun, 2 Jun 2002 00:50:23 -0700 (PDT) Received: FROM uemsconnsp1.cpf.navy.mil BY uemsmwscpf1.cpf.navy.mil ; Sat Jun 01 21:50:16 2002 -1000 Received: by u661-serv-1-host-257.cpf.navy.mil with Internet Mail Service (5.5.2653.19) id ; Sat, 1 Jun 2002 21:50:16 -1000 Message-ID: From: "Kuriyama, Kent K Mr (CPF N671KK)" To: Edwin Groothuis Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Weird 'permissions denied' problem Date: Sat, 1 Jun 2002 21:50:14 -1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Edwin, In answer to your question below: pswmon1: {112} ls -la / | head -4 total 10515 drwxr-xr-x 21 root wheel 1024 Jun 1 18:12 . drwxr-xr-x 21 root wheel 1024 Jun 1 18:12 .. -rw-r--r-- 2 root wheel 805 Jun 16 2001 .cshrc pswmon1: {113} It appears that the root directory permissions are OK. Thanks. Kent Kuriyama -----Original Message----- From: Edwin Groothuis [mailto:edwin@mavetju.org] Sent: Saturday, June 01, 2002 09:42 PM To: Kuriyama, Kent K Mr (CPF N671KK) Cc: 'freebsd-questions@freebsd.org' Subject: Re: Weird 'permissions denied' problem On Sat, Jun 01, 2002 at 09:14:46PM -1000, Kuriyama, Kent K Mr (CPF N671KK) wrote: > I am running FBSD 4.6 RC. I have this weird problem in which a non-root > user gets a "Permission denied" error when executing 'ls -la' while in the > '/usr' directory. As root I can do: > > pswmon1# cd /usr > pswmon1# ls -la > total 47 > drwxr-xr-x 15 root wheel 512 May 4 07:45 . > drwxr-xr-x 21 root wheel 1024 Jun 1 18:12 .. <<< Looks OK > drwxr-xr-x 10 root wheel 512 Jun 15 2001 X11R6 How does your / look like? [~] edwin@k7>ls -al / | head -3 total 12093 drwxr-xr-x 18 root wheel 512 Apr 24 22:54 . drwxr-xr-x 18 root wheel 512 Apr 24 22:54 .. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message