]> git.ipfire.org Git - thirdparty/chrony.git/commit
conf: restrict permissions of created directories
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 8 Jul 2020 15:02:32 +0000 (17:02 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 9 Jul 2020 12:47:33 +0000 (14:47 +0200)
commit3bdcce6903850552c1b869447497d6e0ed2dfa3b
tree711aa76aa893a3982ce9187e349c5acc955a11e0
parentd93aa10bac6b269d6c9c431d8dc58858ba690fac
conf: restrict permissions of created directories

If logdir or dumpdir doesn't exist, create the directory with no
permissions for other users (mode 0750 instead of 0755).
conf.c