Date: Sun, 2 Jun 2002 06:21:42 -1000 From: "Kuriyama, Kent K Mr (CPF N671KK)" <KuriyaKK@cpf.navy.mil> To: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: RE: Weird 'permissions denied' problem - SOLVED Message-ID: <A567A7C3889FD2119D2600204840388C0786AFE6@uemspricpf3.cpf.navy.mil>
next in thread | raw e-mail | index | archive | help
This problem was caused by having the permissions on '/usr' set to
'drwx------'. What was so baffling about it was that I had to drop to
single user mode to make this change. Sorry for the wasted bandwidth.
Kent Kuriyama
-----Original Message-----
From: Kuriyama, Kent K Mr (CPF N671KK)
Sent: Saturday, June 01, 2002 09:15 PM
To: 'freebsd-questions@freebsd.org'
Subject: Weird 'permissions denied' problem
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A567A7C3889FD2119D2600204840388C0786AFE6>
