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:
parent
c85cb98436
commit
0db0fabd27
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue