From 06c90a3200a1ec9d3efa6f9f4fb8cac24cf94bc1 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Mon, 15 Nov 2021 18:35:50 +0100 Subject: [PATCH] [Ubuntu] Chmod known directories (#4509) * chmod known directories * nit space --- images/linux/scripts/installers/post-deployment.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/images/linux/scripts/installers/post-deployment.sh b/images/linux/scripts/installers/post-deployment.sh index c14c00d77..1ed878c58 100644 --- a/images/linux/scripts/installers/post-deployment.sh +++ b/images/linux/scripts/installers/post-deployment.sh @@ -6,11 +6,12 @@ mv -f /imagegeneration/post-generation /opt -# set chmod -R 777 /opt -if [[ -d "/opt" ]]; then - echo "chmod -R 777 /opt" - chmod -R 777 /opt -fi +echo "chmod -R 777 /opt" +chmod -R 777 /opt +echo "chmod -R 777 /usr/share" +chmod -R 777 /usr/share +echo "chmod -R 777 /home" +chmod -R 777 /home # remove installer and helper folders rm -rf $HELPER_SCRIPT_FOLDER