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

Fix chmod

This commit is contained in:
yalh76 2021-04-15 20:30:19 +02:00
parent bd631cac6a
commit fd8ce98928
3 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id=$architecture
chmod 750 "$final_path"
chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"

View file

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

View file

@ -115,7 +115,7 @@ then
ynh_setup_source --dest_dir="$final_path" --source_id=$architecture
fi
chmod 750 "$final_path"
chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"