From d573c1575825de8c47aaeca89db54226ff702924 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 26 Sep 2018 23:54:55 -0700 Subject: 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 --- testing/docker/dmgr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/docker/dmgr.sh') 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 } -- cgit v1.2.3