]> git.ipfire.org Git - thirdparty/chrony.git/commit
rtc: don't clone file attributes of rtc file
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 22 Oct 2019 12:50:00 +0000 (14:50 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Oct 2019 09:03:47 +0000 (11:03 +0200)
commit88f846f6563349c124106baeb51f9d928290aa64
tree519d45d2295fca09f9769f4f31360231c232fe0e
parent27c8a64977fb2e263eb38c4803439a669d3c0406
rtc: don't clone file attributes of rtc file

When replacing an existing rtc file with the temporary file, don't
change the ownership or permissions of the temporary file to match the
old rtc file, as if it didn't exist.
rtc_linux.c