1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Fix chmod

This commit is contained in:
yalh76 2021-04-15 20:30:26 +02:00
parent 96a200c7a6
commit b0145eec6d
3 changed files with 3 additions and 3 deletions

View file

@ -87,7 +87,7 @@ pushd "$final_path"
git reset --quiet --hard FETCH_HEAD git reset --quiet --hard FETCH_HEAD
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

@ -71,7 +71,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

@ -119,7 +119,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"