summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-10-06 15:25:54 +0200
committerJeremy Allison <jra@samba.org>2017-10-09 23:01:18 +0200
commit0666093cb0d820cc27a265c1f0a87bc76cd3c167 (patch)
tree5a1ec4b0b45ac639d2228d64a3ee98a8bb304e13 /nsswitch
parent7e7afef819b4a858e6de48389c6f4fa7510cf5c6 (diff)
downloadsamba-0666093cb0d820cc27a265c1f0a87bc76cd3c167.tar.gz
vfs_fake_acls: deny give-ownership
Windows doesn't allow giving ownership away unless the user has SEC_PRIV_RESTORE privilege. This follows from MS-FSA 2.1.5.1, so it's a property of the filesystem layer, not the SMB layer. By implementing this restriction here, we can now have test for this restriction. Other filesystems may want to deliberately allow this behaviour -- although I'm not aware of any that does -- therefor I'm putting in this restriction in the implementation of the chmod VFS function and not into the caller. Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'nsswitch')
0 files changed, 0 insertions, 0 deletions