mirror of
https://github.com/YunoHost-Apps/backdrop_ynh.git
synced 2024-09-03 20:36:14 +02:00
Fix
This commit is contained in:
parent
162050e133
commit
9ce684dcf9
3 changed files with 3 additions and 3 deletions
|
@ -111,7 +111,7 @@ ynh_store_file_checksum --file="$final_path/settings.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R root: $final_path
|
chown -R $app: $final_path
|
||||||
chmod o-rwx $final_path
|
chmod o-rwx $final_path
|
||||||
chown -R $app:www-data $final_path/files
|
chown -R $app:www-data $final_path/files
|
||||||
chmod -R 770 $final_path/files
|
chmod -R 770 $final_path/files
|
||||||
|
|
|
@ -66,7 +66,7 @@ ynh_restore_file --origin_path="$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R root: $final_path
|
chown -R $app: $final_path
|
||||||
chmod o-rwx $final_path
|
chmod o-rwx $final_path
|
||||||
chown -R $app:www-data $final_path/files
|
chown -R $app:www-data $final_path/files
|
||||||
chmod -R 770 $final_path/files
|
chmod -R 770 $final_path/files
|
||||||
|
|
|
@ -140,7 +140,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R root: $final_path
|
chown -R $app: $final_path
|
||||||
chmod o-rwx $final_path
|
chmod o-rwx $final_path
|
||||||
chown -R $app:www-data $final_path/files
|
chown -R $app:www-data $final_path/files
|
||||||
chmod -R 770 $final_path/files
|
chmod -R 770 $final_path/files
|
||||||
|
|
Loading…
Reference in a new issue