diff --git a/scripts/restore b/scripts/restore index a7a6653..2c98637 100644 --- a/scripts/restore +++ b/scripts/restore @@ -74,11 +74,11 @@ chown -R $app:www-data "$final_path" #================================================= # RESTORE THE DATA DIRECTORY #================================================= -ynh_script_progression --message="Restoring the data directory..." --weight=1 +#ynh_script_progression --message="Restoring the data directory..." --weight=1 -ynh_restore_file --origin_path="$datadir" --not_mandatory +#ynh_restore_file --origin_path="$datadir" --not_mandatory -mkdir -p $datadir +#mkdir -p $datadir # FIXME: this should be managed by the core in the future # Here, as a packager, you may have to tweak the ownerhsip/permissions @@ -86,9 +86,9 @@ mkdir -p $datadir # files in some cases. # But FOR THE LOVE OF GOD, do not allow r/x for "others" on the entire folder - # this will be treated as a security issue. -chmod 750 "$datadir" -chmod -R o-rwx "$datadir" -chown -R $app:www-data "$datadir" +#chmod 750 "$datadir" +#chmod -R o-rwx "$datadir" +#chown -R $app:www-data "$datadir" #================================================= # RESTORE FAIL2BAN CONFIGURATION