1
0
mirror of synced 2026-05-05 15:53:45 +00:00

Enforces umask 022 in 50-setup-hostname*

Hopefully closes #619630
This commit is contained in:
Axel Beckert
2012-06-07 13:39:02 +02:00
parent 10dc941e9f
commit 05314c37cf
4 changed files with 20 additions and 0 deletions

View File

@@ -33,6 +33,13 @@ logMessage Script $0 starting
GUEST_FQDN=${hostname}
GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
#
# Make sure the umask is correct
#
umask 022
#
# Setup the mailname + hostname files.
#