From 9a2b76504d9dea9529700127ce4cb1d6bc964bea Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Wed, 5 Jun 2024 08:55:10 -0700 Subject: [PATCH] add in --setperms --- config.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.sh b/config.sh index 90bbedb..c2dfbce 100644 --- a/config.sh +++ b/config.sh @@ -515,6 +515,9 @@ function cloud_cleanup_steps() { cloud-init clean waagent -force -deprovision+user fi + + # Attempt to fix file permissions + for x in $(rpm -qa); do rpm --setperms "${x}" ; done } function azure_cleanup_steps() {