Subject: Re: kern/3787: adosfs interprets execute protection on directories as S_IX*
To: Todd Vierling <tv@pobox.com>
From: David Brownlee <abs@anim.dreamworks.com>
List: netbsd-bugs
Date: 06/24/1997 17:57:35
	Maybe make it a mount time option?

		David/abs

- "It was at that point I realised there might be a chance for myself as a
-  caring human being. Unable to decide whether to feel hopeful or disgusted,
-  I chose both and opened a bottle of wine to celebrate"

On Tue, 24 Jun 1997, Todd Vierling wrote:

> 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 ==
>