From 219099e264255e4a8f7d66a900c4d7b1a5ea61b0 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 16 Dec 2018 18:25:02 +0100 Subject: [PATCH] Permission fix2 --- README.md | 1 + scripts/install | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index fd5b710..4e94f59 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ You may activate backup of the library with ``` yunohost app setting calibreweb backup_core_only -v 0 ``` +By default, removing the app will **never** delete the library. ## Limitations diff --git a/scripts/install b/scripts/install index ba5ef48..f93ece3 100755 --- a/scripts/install +++ b/scripts/install @@ -107,6 +107,7 @@ ynh_add_nginx_config # Create a system user ynh_system_user_create $app +chown -R $app: $final_path #================================================= # SETUP SYSTEMD