From 3aee2ad116e9329b046aa1cc3be2ef26d7e9df17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 10 Jul 2024 18:57:18 +0200 Subject: [PATCH] Fix permissions on files --- manifest.toml | 2 +- scripts/install | 2 ++ scripts/upgrade | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index fa9bfb1..4fd6d4b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Firefly III" description.en = "Self-hosted financial manager" description.fr = "Gestionnaire de finances personnelles" -version = "6.1.18~ynh1" +version = "6.1.18~ynh2" maintainers = [] diff --git a/scripts/install b/scripts/install index f2fccf2..3db167a 100755 --- a/scripts/install +++ b/scripts/install @@ -56,6 +56,8 @@ pushd "$install_dir" php$phpversion artisan passport:keys || true popd +chown -R $app:www-data "$install_dir" + #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 34df64f..8914f92 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -60,6 +60,8 @@ pushd "$install_dir" php$phpversion artisan view:clear popd +chown -R $app:www-data "$install_dir" + #================================================= # END OF SCRIPT #=================================================