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:
e115a42
)
wafsamba: Do not chmod already existing dirs on install
author
Andreas Schneider
<asn@samba.org>
Tue, 5 Sep 2017 12:18:44 +0000
(14:18 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 15 Sep 2017 22:57:24 +0000
(
00:57
+0200)
This might break backward compatibility.
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>
buildtools/wafsamba/wafsamba.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wafsamba.py
b/buildtools/wafsamba/wafsamba.py
index 57913af2bd72705e81fd7b68f10a8656758721f8..f91adca1a0ca0960635457f9ab2821e653584f04 100644
(file)
--- a/
buildtools/wafsamba/wafsamba.py
+++ b/
buildtools/wafsamba/wafsamba.py
@@
-900,8
+900,6
@@
def INSTALL_DIR(bld, path, chmod=0o755):
except OSError, e:
if not os.path.isdir(path):
raise Utils.WafError("Cannot create the folder '%s' (error: %s)" % (path, e))
- else:
- os.chmod(path, chmod)
Build.BuildContext.INSTALL_DIR = INSTALL_DIR
def INSTALL_DIRS(bld, destdir, dirs, chmod=0o755):