fix /etc /usr permissions for Scaleway, see #1438
This commit is contained in:
parent
9ddca42c91
commit
703a9376ef
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@ source setup/functions.sh # load our functions
|
||||||
echo $PRIMARY_HOSTNAME > /etc/hostname
|
echo $PRIMARY_HOSTNAME > /etc/hostname
|
||||||
hostname $PRIMARY_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
|
# ### Add swap space to the system
|
||||||
|
|
||||||
# If the physical memory of the system is below 2GB it is wise to create a
|
# If the physical memory of the system is below 2GB it is wise to create a
|
||||||
|
|
Loading…
Reference in a new issue