dynamicdns: Fix permissions for all /etc files

The file which contains the credentials should not be readable for
"others".
This commit is contained in:
Daniel Steglich 2016-09-06 08:34:06 +00:00 committed by Sunil Mohan Adapa
parent ac9bda03e6
commit 8608bf6f07
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -322,6 +322,7 @@ doUpdate()
fi
}
umask u=rw,g=,o=
cmd=${1}
shift
# decide which config to use