1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00
Ralph Boehme 0666093cb0 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>
2017-10-09 23:01:18 +02:00
..
2017-09-22 00:02:29 +02:00
2014-01-03 05:04:44 +01:00
2017-02-22 08:26:22 +01:00
2017-09-30 08:01:24 +02:00
2017-02-22 08:26:22 +01:00
2017-02-22 08:26:22 +01:00
2017-09-05 23:58:20 +02:00
2017-09-30 08:01:24 +02:00
2013-05-18 16:32:38 +02:00
2015-03-17 11:30:52 +01:00
2017-09-22 00:02:29 +02:00
2017-09-30 08:01:24 +02:00