From: Rusty Russell Date: Tue, 4 Aug 2009 17:02:42 +0000 (+0200) Subject: s4: make install: prevent overwriting failure X-Git-Tag: talloc-2.0.0~477 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38ff5906b3073276cfe4a7d6d4fbf83a2a2e5fb8;p=thirdparty%2Fsamba.git s4: make install: prevent overwriting failure We don't have to remove the eventual write privileges to enable the execute ones. --- diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 0666ae1adef..257fae8deea 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