mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s4-provision: cope with umask in creating private/dns
This commit is contained in:
parent
ae95d611b6
commit
6bfb216293
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user