From 0389c331387652e2183acc6dcec03ecbe7992eb8 Mon Sep 17 00:00:00 2001 From: JOduMonT Date: Sat, 9 Mar 2019 10:02:21 +0100 Subject: [PATCH] /var/www owned by ttrss user/group ### because : - the [user is created](https://github.com/YunoHost-Apps/ttrss_ynh/blob/master/scripts/install#L90-L91) - the user is used by the fpm-pool as I see in `/etc/php/7.0/fpm/pool.d/ttrss.conf` and if I `chown -R ttrss:ttrss /var/www` tt-rss still working well --- scripts/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 7b6e465..1175f15 100644 --- a/scripts/install +++ b/scripts/install @@ -124,8 +124,7 @@ ynh_add_systemd_config #================================================= # Set permissions to app files -chown -R root: $final_path -chown -R $app $final_path/{cache,feed-icons,lock} +chown -R $app:$app $final_path #================================================= # INITIALIZE DATABASE