From 95b96ca0d7192d8d648f8444fb6a4be5c39d5f04 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 19 Jun 2023 18:53:34 +0200 Subject: [PATCH] fix chown --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2553715..b3e6f88 100644 --- a/scripts/install +++ b/scripts/install @@ -50,7 +50,7 @@ mkdir -p $data_dir/data/{static,media,music} chmod 750 "$data_dir" chmod -R o-rwx "$data_dir/" -chown -R $app:www-data "$data_dir/" +chown -R $app:$app "$data_dir/" #================================================= # ADD A CONFIGURATION @@ -110,7 +110,7 @@ popd chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R $app:$app "$install_dir" #================================================= # GENERIC FINALIZATION