Subject: Re: kern/3787: adosfs interprets execute protection on directories as S_IX*
To: Michael van Elst <mlelstv@serpens.swb.de>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 06/24/1997 17:45:07
On Tue, 24 Jun 1997, Michael van Elst wrote:

: 	adosfs translates AmigaOS protection flags into UNIX mode bits.
: 	PROTECTION_READ becomes S_IRUSR, PROTECTION_WRITE becomes S_IWUSR
: 	and PROTECTION_EXECUTE becomes S_IXUSR (and similar for group
: 	and other permissions).
: 	For files this is a correct interpretation of semantics, however for
: 	directories this is not true. AmigaOS ignores the PROTECTION_EXECUTE
: 	bit on directories completely. There is no difference between a
: 	readable directory and an accessible directory as in UNIX.
: 	As a result a directory without PROTECTION_EXECUTE can be used under
: 	AmigaOS but not under NetBSD.

I'm not so sure this should be forced (directories +x).  There are a couple
filesystem patches I have sitting around that add access privilege to
directories, as well as a third-party addition to MultiUserFileSystem.

I vote this stays as is.  chmod +x the directory if you want to access it ;)

=====
== Todd Vierling (Personal tv@pobox.com; Business tv@iag.net) Foo-bar-baz! ==
== System administrator/technician, Internet Access Group, Orlando Florida ==
== Dialups in Orange, Volusia, Lake, Osceola counties - http://www.iag.net ==