1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-25 02:47:04 +00:00

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

View File

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