]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit577479d258d6790bb1e198ed75b5a61ec200ebbb
treea908af6dc69beb0f1d2cc6745a10a6a9f9bc4225
parent5f1353c18a169c0ab20ab6ecd25f92fc76127ff3
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