]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/nfsd/nfs4xdr.c
nfsd: add support for the umask attribute
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 12 Jan 2016 19:24:14 +0000 (20:24 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 16 Dec 2016 01:42:48 +0000 (20:42 -0500)
commit47057abde515155a4fee53038e7772d6b387e0aa
treea908af6dc69beb0f1d2cc6745a10a6a9f9bc4225
parent3eb15f2828464791f68b341ce87183012c509fc6
nfsd: add support for the umask attribute

Clients can set the umask attribute when creating files to cause the
server to apply it always except when inheriting permissions from the
parent directory.  That way, the new files will end up with the same
permissions as files created locally.

See https://tools.ietf.org/html/draft-ietf-nfsv4-umask-02 for more
details.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsd.h
fs/nfsd/nfssvc.c
include/linux/nfs4.h