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 #=================================================