From 6e11b6f69cfc6fcdeb9f7678aff8d96539f3e14a Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 1 Nov 2023 12:54:41 +0800 Subject: [PATCH] Removed changing group and owner --- manifest.jps | 5 ----- 1 file changed, 5 deletions(-) diff --git a/manifest.jps b/manifest.jps index 124cb35..e2be9de 100644 --- a/manifest.jps +++ b/manifest.jps @@ -42,11 +42,6 @@ onInstall: commands: - echo -e "\nMatch User user*\nPasswordAuthentication yes" >> /etc/ssh/sshd_config user: root - - cmd[cp]: - commands: - - chown root:root /var/www/webroot/ROOT - - chmod 775 /var/www/webroot/ROOT - user: root - cmd[cp]: commands: - systemctl restart sshd