Fix chmod

This commit is contained in:
yalh76 2021-04-15 20:28:52 +02:00
parent 24101fee71
commit e31a068ff3
3 changed files with 3 additions and 3 deletions

View file

@ -95,7 +95,7 @@ pushd "$final_path"
git checkout $COMMIT --quiet git checkout $COMMIT --quiet
popd popd
chmod 750 "$final_path" chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$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" ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path" chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path" chown -R $app:$app "$final_path"

View file

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