Subject: Re: Permissions oddity under 1.4_ALPHA
To: None <mason@acheron.middleboro.ma.us>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: current-users
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 <mason@acheron.middleboro.ma.us> 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
> mason
> 
> 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 <taca@sky.yamashina.kyoto.jp>