mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[Ubuntu] Chmod known directories (#4509)
* chmod known directories * nit space
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user