Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2002 21:14:46 -1000 
From:      "Kuriyama, Kent K Mr (CPF N671KK)" <KuriyaKK@cpf.navy.mil>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Weird 'permissions denied' problem
Message-ID:  <A567A7C3889FD2119D2600204840388C057E085C@uemspricpf3.cpf.navy.mil>

next in thread | raw e-mail | index | archive | help
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?A567A7C3889FD2119D2600204840388C057E085C>