diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-11 20:20:11 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-11 21:04:14 +1100 |
commit | 6bfb216293e7416e1164766d6f96c769d76fca8d (patch) | |
tree | f250b314f8a12271f4cbb51f035174f72af30407 | |
parent | ae95d611b6e0754f130707f23fa6ae0997c40b66 (diff) | |
download | samba-6bfb216293e7416e1164766d6f96c769d76fca8d.tar.gz samba-6bfb216293e7416e1164766d6f96c769d76fca8d.tar.bz2 samba-6bfb216293e7416e1164766d6f96c769d76fca8d.zip |
s4-provision: cope with umask in creating private/dns
-rw-r--r-- | source4/scripting/python/samba/provision.py | 2 |
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: |