9fans archive / 1997 / 09 / 101 /    prev next

From: G. David Butler gdb@dbS...
Subject: [9fans] Plan9 permissions
Date: Mon, 15 Sep 1997 08:28:46 -0500

Intro(5) second to last pargraph says:

"When the owner attempts to do something to a file, the owner, group
and other permissions are consulted, and if any of them grant the
requested permission, the operation is allowed.  For someone who is
not the owner, but is a member of the file's group, the group and
other permissions are consulted.  For everyone else, the other
permissions are used."

This means that to deny the owner write permission you must deny
everyone (unless the owner is not a member of the file's group).

I think the paragraph should read:

"When the owner attempts to do something to a file, the owner
permissions are consulted only, and if they grant the requested
permission, the operation is allowed.  For someone who is not the
owner, but is a member of the files's group, only the group
permissions are consulted.  The other permissions are only used
if the requestor is not the owner or a member of the file's group."

Comments?

David Butler
gdb@dbS...