1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

Create files folder BEFORE setting permissions

This commit is contained in:
Tagada 2021-05-21 15:37:39 +02:00
parent c85cb98436
commit 0db0fabd27

View file

@ -148,13 +148,13 @@ export PATH="$final_path/.composer/vendor/bin:$PATH"
#=================================================
ynh_script_progression --message="Initializing tmp and private directory..." --weight=1
mkdir -p "$final_path/app/sites/default/files"
mkdir -p "$final_path/app/sites/default/files/tmp"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
mkdir -p "$final_path/app/sites/default/files"
chmod 2775 "$final_path/app/sites/default/files"
mkdir -p "$final_path/app/sites/default/files/tmp"
#=================================================
# CREATE DATA DIRECTORY