From 4690aa29e09fe94bae4f06de7a42f896131886d7 Mon Sep 17 00:00:00 2001 From: Boudewijn Date: Sat, 1 Mar 2025 10:59:53 +0100 Subject: [PATCH] tweak permissions in conf/install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e560670..1ff3ee4 100755 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,8 @@ ynh_store_file_checksum "$install_dir/.env" app_key=$(cat $install_dir/.env | grep -e ^APP_KEY | cut -c 9-) ynh_app_setting_set --key=app_key --value=$app_key -chgrp "$app:www-data" -R "$install_dir/storage" "$install_dir/public" +# group only, make it www-data vs user/group $app:www-data +chgrp "www-data" -R "$install_dir/storage" "$install_dir/public" chmod -R 2775 "$install_dir/storage" "$install_dir/app" "$install_dir/public" "$install_dir/bootstrap/" #=================================================