From 3dc95cffb6dec8e9a8cc643d0579a6603045a81e Mon Sep 17 00:00:00 2001 From: Limezy Date: Wed, 1 May 2024 23:46:50 +0700 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 222fef7..5c7e942 100755 --- a/scripts/install +++ b/scripts/install @@ -40,7 +40,6 @@ ynh_setup_source --dest_dir="$install_dir/app" mkdir "/home/$app" && chmod 700 "/home/$app" ln -s "$install_dir/app" "/home/$app/app" -chmod 700 "/home/$app/app/helpers/shells/*" mkdir "/home/$app/.ssh" && chmod 700 "/home/$app/.ssh" touch "/home/$app/.ssh/authorized_keys" && chmod 600 "/home/$app/.ssh/authorized_keys" @@ -51,6 +50,8 @@ ln -s "/home/yunohost.app/$app" "/home/$app/repos" && chmod 700 "/home/$app/repo chown -R $app:www-data "$install_dir" chown -R $app:www-data "/home/$app" +chmod 700 "/home/$app/app/helpers/shells/"* + #================================================= # SYSTEM CONFIGURATION #=================================================