mirror of
https://github.com/samba-team/samba.git
synced 2025-09-07 21:44:22 +03:00
python:provision: Do not change the owner of the sam.ldb.d dir
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
591b086bf1
commit
ffb7d6b50e
@@ -868,9 +868,6 @@ def create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid):
|
||||
# Give bind read/write permissions dns partitions
|
||||
if paths.bind_gid is not None:
|
||||
try:
|
||||
os.chown(samldb_dir, -1, paths.bind_gid)
|
||||
os.chmod(samldb_dir, 0750)
|
||||
|
||||
for dirname, dirs, files in os.walk(dns_dir):
|
||||
for d in dirs:
|
||||
dpath = os.path.join(dirname, d)
|
||||
|
Reference in New Issue
Block a user