Subject: Re: Permissions oddity under 1.4_ALPHA
To: None <email@example.com>
From: Takahiro Kambe <firstname.lastname@example.org>
Date: 05/04/1999 02:07:48
In message <19990503125444.A25947@acheron.middleboro.ma.us>
on Mon, 3 May 1999 12:54:44 -0400,
Mason Loring Bliss <email@example.com> wrote:
> Can someone explain the following? If not, I'll send a PR. Oddities abound.
No, you don't need to.
> satserv1-1 /usr/pkg/share/httpd/htdocs$ ls -l | grep programs
> drwx---r-x 3 web web 1536 May 3 10:50 programs
> satserv1-1 /usr/pkg/share/httpd/htdocs$ cd programs
> /bin/ksh: cd: /usr/pkg/share/httpd/htdocs/programs - Permission denied
> satserv1-1 /usr/pkg/share/httpd/htdocs$ whoami
> With mode 0755, I can cd into there. With mode 0705, I cannot.
Perhaps, you are a member of `web' group and you aren't the owner of the
file, so permission is checked for group and never checked for others.
This is quite natural on UNIX environment.
Takahiro Kambe <firstname.lastname@example.org>