diff options
author | Jeremy Allison <jra@samba.org> | 2019-06-18 15:29:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-06-24 18:49:10 +0000 |
commit | 77454ecfbd8f9ac662aaaf47579927073f494552 (patch) | |
tree | 3504a2bb2664421d2f8abc1235e951653e75b0db /source3/smbd/proto.h | |
parent | 503e1243d2c06b16aedbd1068dbf1da37ddd176f (diff) | |
download | samba-77454ecfbd8f9ac662aaaf47579927073f494552.tar.gz |
s3: smbd: Add default ACLS can only be set on directory check to smb_set_posix_acl().
This was already being checked in the lower layer,
so no change in behavior, just an efficiency and
clarity change.
Just move an extra check here so we refuse the
set if a default ACL is sent on a file object
before we go into the lower layers.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
0 files changed, 0 insertions, 0 deletions