aboutsummaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-09-05 14:18:44 +0200
committerJeremy Allison <jra@samba.org>2017-09-16 00:57:24 +0200
commit2bf9b5e166f8440a09db937e2936a43d1dcd2ae3 (patch)
treeb3c5749866c921b568eb912421037629a143da09 /buildtools/wafsamba
parente115a4231845b8512eb70478f306f2e8bcbfd64f (diff)
downloadsamba-2bf9b5e166f8440a09db937e2936a43d1dcd2ae3.tar.gz
samba-2bf9b5e166f8440a09db937e2936a43d1dcd2ae3.tar.xz
samba-2bf9b5e166f8440a09db937e2936a43d1dcd2ae3.zip
wafsamba: Do not chmod already existing dirs on install
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>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 57913af2bd7..f91adca1a0c 100644
--- 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):