Skip to content

NFSv4.2 umask support

J. Bruce Fields linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nfs: add support for the umask attributefs/nfs/dir.c fs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c +3 more+50 -180 replies
2/2nfsd: add support for the umask attributefs/nfsd/nfs4xdr.c fs/nfsd/nfsd.h fs/nfsd/nfssvc.c+30 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] NFSv4.2 umask support

From: "J. Bruce Fields" <[email protected]>

The following patches allow the umask to be ignored in the presence of inheritable NFSv4 ACLs. Otherwise inheritable ACLs can be rendered mostly useless whenever the umask masks out group bits.

This solves a problem we've seen complaints about for some time, both upstream and from RHEL users.

The new protocol has been discussed in the IETF working group and is documented at:

	https://tools.ietf.org/html/draft-ietf-nfsv4-umask-02

It's unlikely that we'll discover problems requiring an incompatible change, so I think we should consider this for 4.10.

--b.

Andreas Gruenbacher (2):
nfs: add support for the umask attribute
nfsd: add support for the umask attribute

 fs/nfs/dir.c              |  7 ++++++-
 fs/nfs/nfs4proc.c         | 21 ++++++++++++++++-----
 fs/nfs/nfs4xdr.c          | 36 ++++++++++++++++++++++++------------
 fs/nfsd/nfs4xdr.c         | 26 +++++++++++++++++++++-----
 fs/nfsd/nfsd.h            |  9 +++++++--
 fs/nfsd/nfssvc.c          |  4 ++--
 include/linux/nfs4.h      |  1 +
 include/linux/nfs_fs_sb.h |  1 +
 include/linux/nfs_xdr.h   |  2 ++
 9 files changed, 80 insertions(+), 27 deletions(-)
Signature · 1 line
2.7.4