mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Fix
This commit is contained in:
parent
b21c1792e8
commit
dbb99de49c
3 changed files with 9 additions and 6 deletions
|
@ -123,8 +123,9 @@ popd
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chmod 755 $final_path
|
||||||
chmod -R 755 $final_path
|
chown -R $app:www-data $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
chmod 600 $final_path/.env
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -67,8 +67,9 @@ ynh_restore_file --origin_path="$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R $app: $final_path
|
chmod 755 $final_path
|
||||||
chmod -R 755 $final_path
|
chown -R $app:www-data $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
chmod 600 $final_path/.env
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -122,8 +122,9 @@ popd
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R $app: $final_path
|
chmod 755 $final_path
|
||||||
chmod -R 755 $final_path
|
chown -R $app:www-data $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
chmod 600 $final_path/.env
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue