1
0
mirror of synced 2026-01-27 04:02:09 +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

1
debian/changelog vendored
View File

@@ -30,6 +30,7 @@ xen-tools (4.3~dev-1) UNRELEASED; urgency=low
- Massive code deduplication in hooks directory
- Use release blacklist for libc6-xen instead of whitelist in
hooks/debian.d/20-setup-apt
- Enforces umask 022 in 50-setup-hostname* (Hopefully closes: #619630)
* Add dependency on openssh-client for ssh-keygen (Closes: #649108)
* Use dh_auto_test for build time tests and add according
build-dependencies on devscripts and libfile-slurp-perl.

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.
#

View File

@@ -28,6 +28,12 @@ fi
logMessage Script $0 starting
#
# Make sure the umask is correct
#
umask 022
#
# Setup the mailname + hostname files.
#

View File

@@ -35,6 +35,12 @@ name=$(echo "$hostname" | sed -e 's/\..*$//')
domain=$(echo "$hostname" | sed -e 's/^[^.]*\.//')
#
# Make sure the umask is correct
#
umask 022
#
# Setup the hostname + domain names.
#