mirror of
https://github.com/samba-team/samba.git
synced 2025-07-16 20:59:12 +03:00
s4-provision: cope with umask in creating private/dns
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user