From 6bfb216293e7416e1164766d6f96c769d76fca8d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 11 Feb 2010 20:20:11 +1100 Subject: s4-provision: cope with umask in creating private/dns --- source4/scripting/python/samba/provision.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/scripting/python') 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: -- cgit