diff options
author | Alexey Neyman <stilor@att.net> | 2018-09-26 23:54:55 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-09-26 23:54:55 -0700 |
commit | d573c1575825de8c47aaeca89db54226ff702924 (patch) | |
tree | 9be873831226a624216b0110f945d700b33771c9 /testing/docker/dmgr.sh | |
parent | 29f0662c188e7126871fa84f6e6f854cda279c89 (diff) | |
download | crosstool-ng-d573c1575825de8c47aaeca89db54226ff702924.tar.gz crosstool-ng-d573c1575825de8c47aaeca89db54226ff702924.tar.bz2 crosstool-ng-d573c1575825de8c47aaeca89db54226ff702924.zip |
Use 'chmod a-x' instead of 'chmod -x'
There is a subtle difference when executable bit is a part of the umask.
And at least some versions (Debian/stretch) fail if the resulting mode
would've been different if not for the umask setting.
Fixes #998.
Although, with such chmods/umasks it is likely that some package installation
will break anyway. But I'll leave it until somebody complains.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing/docker/dmgr.sh')
-rwxr-xr-x | testing/docker/dmgr.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/docker/dmgr.sh b/testing/docker/dmgr.sh index 08247844..b6a42943 100755 --- a/testing/docker/dmgr.sh +++ b/testing/docker/dmgr.sh @@ -109,7 +109,7 @@ action_clean() msg "Cleaning up after ${cntr}" if [ -d build-${cntr} ]; then - chmod -R +w build-${cntr} + chmod -R a+w build-${cntr} rm -rf build-${cntr} fi } |