From 6e2f4d89278ed3f12d42eb7906f2806665c04886 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 17 Apr 2022 16:56:59 +0200 Subject: [PATCH] Fix .env permission (admin panel access to the config file) --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 68e7eb48..e668393e 100644 --- a/scripts/install +++ b/scripts/install @@ -100,6 +100,8 @@ ynh_setup_source --dest_dir="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +# Pixelfed app should be able to edit its settings from the admin panel +chmod 600 "$final_path"/.env #================================================= # NGINX CONFIGURATION