git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
591b086
)
python:provision: Do not change the owner of the sam.ldb.d dir
author
Andreas Schneider
<asn@samba.org>
Wed, 6 Sep 2017 05:25:04 +0000
(07:25 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 15 Sep 2017 22:57:24 +0000
(
00:57
+0200)
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>
python/samba/provision/sambadns.py
patch
|
blob
|
history
diff --git
a/python/samba/provision/sambadns.py
b/python/samba/provision/sambadns.py
index fce72adc5337e1d7d412b3d99ac07f3bdbcf7b5b..a40506578266860a9e2b8b85dbb326113dee08ef 100644
(file)
--- a/
python/samba/provision/sambadns.py
+++ b/
python/samba/provision/sambadns.py
@@
-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)