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
9ce684dcf9
commit
a62ce1eff4
3 changed files with 3 additions and 6 deletions
|
@ -111,8 +111,7 @@ ynh_store_file_checksum --file="$final_path/settings.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chown -R root: $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,8 +66,7 @@ ynh_restore_file --origin_path="$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chown -R root: $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,8 +140,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chown -R root: $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