mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
parent
f764d11977
commit
5a60143ebe
3 changed files with 0 additions and 3 deletions
|
@ -118,7 +118,6 @@ ynh_app_setting_set --app=$app --key=data_path --value=$data_path
|
||||||
mkdir -p $data_path
|
mkdir -p $data_path
|
||||||
chown -R $app: $data_path
|
chown -R $app: $data_path
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
chmod o-rwx $final_path
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP APPLICATION
|
# SETUP APPLICATION
|
||||||
|
|
|
@ -77,7 +77,6 @@ ynh_script_progression --message="Restoring user rights..."
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
chown -R $app: $data_path
|
chown -R $app: $data_path
|
||||||
chmod o-rwx $final_path
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE PHP-FPM CONFIGURATION
|
# RESTORE THE PHP-FPM CONFIGURATION
|
||||||
|
|
|
@ -165,7 +165,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R $app: $data_path
|
chown -R $app: $data_path
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
chmod o-rwx $final_path
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Reference in a new issue