1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moodle_ynh.git synced 2024-09-03 19:46:23 +02:00

Revert "Protect final_path"

This reverts commit f764d11977.
This commit is contained in:
ericgaspar 2021-03-24 20:51:25 +01:00
parent f764d11977
commit 5a60143ebe
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 0 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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