From owner-freebsd-questions Sun Jun 2 0:14:58 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 C7DB837B40E for ; Sun, 2 Jun 2002 00:14:49 -0700 (PDT) Received: FROM uemsconnsp1.cpf.navy.mil BY uemsmwscpf1.cpf.navy.mil ; Sat Jun 01 21:14:48 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:14:48 -1000 Message-ID: From: "Kuriyama, Kent K Mr (CPF N671KK)" To: "'freebsd-questions@freebsd.org'" Subject: Weird 'permissions denied' problem Date: Sat, 1 Jun 2002 21:14:46 -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 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 . . . rest deleted As a non-root user I get: pswmon1: {136} cd /usr pswmon1: {137} ls -la ls: ..: Permission denied <<< Why this message? total 46 drwxr-xr-x 15 root wheel 512 May 4 07:45 . drwxr-xr-x 10 root wheel 512 Jun 15 2001 X11R6 . . . rest deleted Similarly when the non-root user does: pswmon1: {138} ls -la /usr/.. ls: /usr/..: Permission denied The permission's on '..' look OK to me but all non-root users get the same "Permission denied" message. Can someone please tell me what I'm doing wrong? Thanks. Kent Kuriyama To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message