]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Adjust mode bits processing
authorMarc Dionne <marc.dionne@auristor.com>
Thu, 16 Mar 2017 16:27:44 +0000 (16:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:44 +0000 (16:27 +0000)
commitc5e2cf810d8ba8c0023efc6c34d1ad2756871a5c
tree7c6b03378fd22a35becb173475bcc8d80061c855
parent7caea5c04e4b3f2cb78b6afaeed0145cd6254f63
afs: Adjust mode bits processing

Mode bits for an afs file should not be enforced in the usual
way.

For files, the absence of user bits can restrict file access
with respect to what is granted by the server.

These bits apply regardless of the owner or the current uid; the
rest of the mode bits (group, other) are ignored.

Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/security.c