9fans archive / 1997 / 10 / 6 /    prev next

From: G. David Butler gdb@dbS...
Subject: [9fans] The user 'none'
Date: Wed, 1 Oct 1997 10:33:17 -0500

Russ from rsc@pla... suggested a different
algorithm.  Instead of:

...

if none and write access requested
	not

if ingroup and group is allowed requested access
	ok
else
	not

...

Try

...

if ingroup
	if not none and group is allowed requested access OR
	if none and *other* is allowed requested access
		ok
	else
		not

...

This says that if none is a member of a group and that group
has allowed others access, than none gets access too.

Better?

David Butler
gdb@dbS...