Skip to content

Commit 06c90a3

Browse files
[Ubuntu] Chmod known directories (#4509)
* chmod known directories * nit space
1 parent d09b1f8 commit 06c90a3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

images/linux/scripts/installers/post-deployment.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
mv -f /imagegeneration/post-generation /opt
88

9-
# set chmod -R 777 /opt
10-
if [[ -d "/opt" ]]; then
11-
echo "chmod -R 777 /opt"
12-
chmod -R 777 /opt
13-
fi
9+
echo "chmod -R 777 /opt"
10+
chmod -R 777 /opt
11+
echo "chmod -R 777 /usr/share"
12+
chmod -R 777 /usr/share
13+
echo "chmod -R 777 /home"
14+
chmod -R 777 /home
1415

1516
# remove installer and helper folders
1617
rm -rf $HELPER_SCRIPT_FOLDER

0 commit comments

Comments
 (0)