1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
This commit is contained in:
ericgaspar 2021-06-02 09:50:46 +02:00
parent 7046c7143d
commit c1d6ee4a7d
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 6 deletions

View file

@ -97,8 +97,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
ynh_setup_source --dest_dir="$final_path" --source_id="$architecture"
chmod 750 "$final_path"
#chmod -R o-rwx "$final_path"
chown -R $app: "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# CREATE DATA AND GROUPS FOLDER

View file

@ -68,8 +68,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path"
#chmod -R o-rwx "$final_path"
chown -R $app: "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# RESTORE SYSTEMD

View file

@ -104,8 +104,8 @@ then
fi
chmod 750 "$final_path"
#chmod -R o-rwx "$final_path"
chown -R $app: "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION