1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

Fix recursive chmod

This commit is contained in:
yalh76 2021-04-17 18:32:18 +02:00
parent 59b7c553c0
commit d1e1fb82e8
3 changed files with 3 additions and 3 deletions

View file

@ -128,7 +128,7 @@ chmod +x $final_path/.cargo/bin/*
# Remove empty bin directory
ynh_secure_remove --file="$final_path/$app/bin"
chmod -R 750 "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"

View file

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

@ -119,7 +119,7 @@ then
ynh_secure_remove --file="$final_path/$app/bin"
fi
chmod -R 750 "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"