summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index d0bc323403..86f1d9cb07 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -1524,6 +1524,8 @@ def create_zone_file(message, paths, setup_path, dnsdomain,
pass
os.mkdir(dns_dir, 0770)
+ # chmod needed to cope with umask
+ os.chmod(dns_dir, 0770)
if paths.bind_gid is not None:
try: