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

permissions

This commit is contained in:
ericgaspar 2020-07-11 23:45:16 +02:00
parent 95777a06ec
commit d4627eb9a1
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 5 deletions

View file

@ -58,7 +58,6 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
ynh_script_progression --message="Setting up source files..." --weight=4
# Download, check integrity, uncompress and patch the source from app.src
# For this app sources are in app subdirectory
ynh_setup_source "$final_path"
#=================================================
@ -67,8 +66,8 @@ ynh_setup_source "$final_path"
# SECURE FILES AND DIRECTORIES
#=================================================
# Set permissions to phpsysinfo directory
chown -R www-data: "$final_path"
# Restore permissions on app files
chown -R www-data:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION

View file

@ -56,7 +56,7 @@ ynh_restore_file --origin_path="$final_path"
#=================================================
# Restore permissions on app files
chown -R www-data: $final_path
chown -R www-data:www-data "$final_path"
#=================================================
# GENERIC FINALIZATION

View file

@ -100,7 +100,7 @@ ynh_add_nginx_config
#=================================================
# Set permissions on app files
chown -R www-data: $final_path
chown -R www-data:www-data "$final_path"
#=================================================
# RELOAD NGINX