]> git.ipfire.org Git - thirdparty/chrony.git/commit
logging: restrict file log permissions
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 11 Feb 2020 11:37:57 +0000 (12:37 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 18 Feb 2020 15:01:25 +0000 (16:01 +0100)
commit794cbfbbb54a87f6635fda4918c0ba451c09b87c
tree2eb8ba09e8afc758971dd0c06d0381dc3dd79222
parent1858104b5ca2ed060fa13bf229b73669a6d7bc0c
logging: restrict file log permissions

With the new file utility functions permissions can be restricted for
newly created files. For the log file specified by the -l option it
is better to remove the "other" permissions (0640) to make it similar
to the system log.
logging.c