diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-07-12 00:54:35 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-21 18:51:19 +0300 |
commit | ecbb903c56745d59c301db26dd7d8b74b520eb84 (patch) | |
tree | 882b94947ed7bae985aa9535066452a74d01d404 /fs/nfs/filelayout | |
parent | bd8b2441742b49c76bec707757bd9c028ea9838e (diff) | |
download | linux-ecbb903c56745d59c301db26dd7d8b74b520eb84.tar.xz |
NFS: Be more careful about mapping file permissions
When mapping a directory, we want the MAY_WRITE permissions to reflect
whether or not we have permission to modify, add and delete the directory
entries. MAY_EXEC must map to lookup permissions.
On the other hand, for files, we want MAY_WRITE to reflect a permission
to modify and extend the file.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/filelayout')
0 files changed, 0 insertions, 0 deletions