diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-02-16 12:28:28 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 19:14:01 +0300 |
commit | 7bdfa68c5e70b815e85dab0bdd9f48ec103c4002 (patch) | |
tree | 0cb4068ea5f0281a624a4d259407243407bdaa24 /init | |
parent | f534a257acfd9dae0a689be64397919907b283ba (diff) | |
download | linux-7bdfa68c5e70b815e85dab0bdd9f48ec103c4002.tar.xz |
[PATCH] knfsd: nfsd4: relax checking of ACL inheritance bits
The rfc allows us to be more permissive about the ACL inheritance bits we
accept:
"If the server supports a single "inherit ACE" flag that applies to
both files and directories, the server may reject the request
(i.e., requiring the client to set both the file and directory
inheritance flags). The server may also accept the request and
silently turn on the ACE4_DIRECTORY_INHERIT_ACE flag."
Let's take the latter option--the ACL is a complex attribute that could be
rejected for a wide variety of reasons, and the protocol gives us little
ability to explain the reason for the rejection, so erroring out is a
user-unfriendly last resort.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions