diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-22 18:35:01 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-23 15:02:26 +0200 |
commit | 51e3547426bcfe9ae086c12bff95dfc31aba5e24 (patch) | |
tree | 0d1eced60a65f401c6255734080b36b2a2576236 /source4/scripting | |
parent | 8f909199c4964a4f501520bb687d88471daf6af6 (diff) | |
download | samba-51e3547426bcfe9ae086c12bff95dfc31aba5e24.tar.gz samba-51e3547426bcfe9ae086c12bff95dfc31aba5e24.tar.bz2 samba-51e3547426bcfe9ae086c12bff95dfc31aba5e24.zip |
s3-pysmbd: Allow a mode to be specified for the simple ACL
The additional group for the ACL is now optional.
Andrew Bartlett
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/provision/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index fd71631ee7..e84cb2137b 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -1801,7 +1801,7 @@ def provision(logger, session_info, credentials, smbconf=None, file = tempfile.NamedTemporaryFile(dir=os.path.abspath(paths.sysvol)) try: try: - smbd.set_simple_acl(file.name, root_uid, wheel_gid) + smbd.set_simple_acl(file.name, 0755, wheel_gid) except Exception: raise ProvisioningError("Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option.") try: |