[Ubuntu] Chmod known directories (#4509)

* chmod known directories

* nit space
This commit is contained in:
Maxim Lobanov
2021-11-15 18:35:50 +01:00
committed by GitHub
parent d09b1f8f9c
commit 06c90a3200

View File

@@ -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