diff --git a/run-bakery b/run-bakery index c7ad61d..0f06b2c 100755 --- a/run-bakery +++ b/run-bakery @@ -18,9 +18,15 @@ if [ -n "$CI" ]; then # such as xz which tries to change the group ownership of the compressed # file. ls -la build/ + echo "Checking lsattr" + sudo lsattr build/* ||: echo "Checking build folder ownership: user=$(whoami)" - sudo chown "$(whoami):$(whoami)" -R build ||: + sudo chown "$(whoami):$(whoami)" -R . ||: + sudo chmod 755 build ||: sudo chmod 777 build/* ||: - echo "After chown" + # sudo chattr -i build/*.* ||: + echo "After fix" ls -la build/ + echo "Checking lsattr" + sudo lsattr build/* ||: fi