Fix recursive chmod

This commit is contained in:
yalh76 2021-04-17 18:31:51 +02:00
parent e31a068ff3
commit b7430f4503
3 changed files with 3 additions and 3 deletions

View file

@ -95,7 +95,7 @@ pushd "$final_path"
git checkout $COMMIT --quiet
popd
chmod -R 750 "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"

View file

@ -65,7 +65,7 @@ ynh_script_progression --message="Restoring the app main directory..."
ynh_restore_file --origin_path="$final_path"
chmod -R 750 "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"

View file

@ -87,7 +87,7 @@ then
popd
fi
chmod -R 750 "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"