diff options
author | David Williams | 2016-04-29 16:20:26 +0000 |
---|---|---|
committer | David Williams | 2016-04-29 16:20:26 +0000 |
commit | 60b67063faec3d93898bb4255c87e49a3c6f3c6f (patch) | |
tree | dd8dd9c36369d392e59b1b3a3e1f96097fb3e337 /production/master-build.sh | |
parent | 8d65252213599a65d7e1bb7f16f5d4b4e352e24e (diff) | |
download | eclipse.platform.releng.aggregator-60b67063faec3d93898bb4255c87e49a3c6f3c6f.tar.gz eclipse.platform.releng.aggregator-60b67063faec3d93898bb4255c87e49a3c6f3c6f.tar.xz eclipse.platform.releng.aggregator-60b67063faec3d93898bb4255c87e49a3c6f3c6f.zip |
[releng] Attempting to get permissions set on build directory
Diffstat (limited to 'production/master-build.sh')
-rwxr-xr-x | production/master-build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/production/master-build.sh b/production/master-build.sh index 8fa38b354..d85573665 100755 --- a/production/master-build.sh +++ b/production/master-build.sh @@ -89,8 +89,12 @@ echo "buildDirectory: >${buildDirectory}<" export logsDirectory="${buildDirectory}/buildlogs" # making in two steps, in to try and get group and permissions inherited +echo "initial umask in master-build.sh: $(umask)" +umask 0002 +echo "umask after setting in master-build.sh: $(umask)" mkdir -p "${buildDirectory}" checkForErrorExit $? "Could not create buildDirectory: ${buildDirectory}" +chmod -c g+s "${buildDirectory}" mkdir -p "${logsDirectory}" checkForErrorExit $? "Could not create buildlogs directory: ${logsDirectory}" |