From: Ward Vandewege Date: Sat, 1 Nov 2014 00:40:58 +0000 (-0400) Subject: Make sure all executables we package are executable. X-Git-Url: https://git.arvados.org/arvados-dev.git/commitdiff_plain/e9db1de8aaa0a519f31684561e3c660461ccf22e?hp=7b3296a9decf3443b47b386a399aecb5b996c3fa Make sure all executables we package are executable. No issue # --- diff --git a/jenkins/run-build-packages.sh b/jenkins/run-build-packages.sh index 3a8f9c9..eca16fc 100755 --- a/jenkins/run-build-packages.sh +++ b/jenkins/run-build-packages.sh @@ -187,6 +187,9 @@ source /etc/profile.d/rvm.sh # out our git tree here chmod o+r "$WORKSPACE" -R +# More cleanup - make sure all executables that we'll package are 755 +find -type d -name 'bin' |xargs -I {} find {} -type f |xargs -I {} chmod 755 {} + # Now fix our umask to something better suited to building and publishing # gems and packages umask 0022