1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00
This commit is contained in:
ericgaspar 2021-05-09 20:00:35 +02:00
parent b21c1792e8
commit dbb99de49c
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 9 additions and 6 deletions

View file

@ -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
#================================================= #=================================================

View file

@ -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
#================================================= #=================================================

View file

@ -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
#================================================= #=================================================