summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-11 20:20:11 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-11 21:04:14 +1100
commit6bfb216293e7416e1164766d6f96c769d76fca8d (patch)
treef250b314f8a12271f4cbb51f035174f72af30407 /source4
parentae95d611b6e0754f130707f23fa6ae0997c40b66 (diff)
downloadsamba-6bfb216293e7416e1164766d6f96c769d76fca8d.tar.gz
samba-6bfb216293e7416e1164766d6f96c769d76fca8d.tar.bz2
samba-6bfb216293e7416e1164766d6f96c769d76fca8d.zip
s4-provision: cope with umask in creating private/dns
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: