summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-08-04 19:02:42 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-08-04 19:02:42 +0200
commit38ff5906b3073276cfe4a7d6d4fbf83a2a2e5fb8 (patch)
treea319946b553c163692abf908dfb57354b133624e
parent74454cc731f202361f1dce47fa850810bfeb36c8 (diff)
downloadsamba-38ff5906b3073276cfe4a7d6d4fbf83a2a2e5fb8.tar.gz
samba-38ff5906b3073276cfe4a7d6d4fbf83a2a2e5fb8.tar.bz2
samba-38ff5906b3073276cfe4a7d6d4fbf83a2a2e5fb8.zip
s4: make install: prevent overwriting failure
We don't have to remove the eventual write privileges to enable the execute ones.
-rwxr-xr-xsource4/script/installmisc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh
index 0666ae1ade..257fae8dee 100755
--- a/source4/script/installmisc.sh
+++ b/source4/script/installmisc.sh
@@ -12,7 +12,7 @@ mkdir -p $SETUPDIR/ad-schema || exit 1
cp setup/ad-schema/*.txt $SETUPDIR/ad-schema || exit 1
for p in enableaccount newuser provision provision-backend setexpiry setpassword
do
- chmod 0555 setup/$p
+ chmod a+x setup/$p
cp setup/$p $SETUPDIR || exit 1
done
cp setup/schema-map-* $SETUPDIR || exit 1