1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00

Update restore

This commit is contained in:
ericgaspar 2021-05-18 15:08:16 +02:00
parent 4164c2a0be
commit 02c7dd53f0
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -76,8 +76,11 @@ ynh_restore_file --origin_path="$public_path" --not_mandatory
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chmod 750 "$final_path"
chmod 750 $final_path/bootstrap/cache chmod 750 "$final_path/bootstrap/cache"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chown -R $app: $public_path chown -R $app: $public_path
chmod 755 $public_path chmod 755 $public_path