From afa1356c5cd55544efffae89532833711e056741 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Wed, 13 Nov 2024 22:45:14 +0100 Subject: [PATCH] limit perm to 700 --- bot/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/build.sh b/bot/build.sh index 6bf7827d66..132770fd01 100755 --- a/bot/build.sh +++ b/bot/build.sh @@ -234,13 +234,13 @@ else grep ^REMOVE_DIRECTORY ${determine_outerr} | cut -f4- -d'/' > ${determine_outerr}.rm_dirs cat ${determine_outerr}.rm_dirs | while read remove_dir; do mkdir -p ${STORAGE}/lower_dirs/${remove_dir} - chmod ugo+rwx ${STORAGE}/lower_dirs/${remove_dir} + chmod u+rwx ${STORAGE}/lower_dirs/${remove_dir} done grep ^REMOVE_FILE ${determine_outerr} | cut -f4- -d'/' > ${determine_outerr}.rm_files cat ${determine_outerr}.rm_files | while read remove_file; do touch ${STORAGE}/lower_dirs/${remove_file} - chmod ugo+rw ${STORAGE}/lower_dirs/${remove_file} + chmod u+rw ${STORAGE}/lower_dirs/${remove_file} done # prepare directory to store tarball of tmp for removal and build steps