fix /etc /usr permissions for Scaleway, see #1438

This commit is contained in:
Joshua Tauberer 2018-12-02 18:15:34 -05:00
parent 9ddca42c91
commit 703a9376ef
1 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,13 @@ source setup/functions.sh # load our functions
echo $PRIMARY_HOSTNAME > /etc/hostname
hostname $PRIMARY_HOSTNAME
# ### Fix permissions
# The default Ubuntu Bionic image on Scaleway throws warnings during setup about incorrect
# permissions (group writeable) set on the following directories.
chmod g-w /etc /etc/default /usr
# ### Add swap space to the system
# If the physical memory of the system is below 2GB it is wise to create a