diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-02-24 20:03:44 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-02-24 21:09:02 +0100 |
commit | cdd025133a306cd8d3e81aa832ac056119d65f3a (patch) | |
tree | 70124d1307c6bb9f49fb9b2440521a7fe15786b9 /debian/source/format | |
parent | faab30461b0f2b920e3dd19489ce458c0b38e6d9 (diff) |
lacme: Don't write certificate(-chain) file on chown/chmod failure.
Otherwise we end up with files with mode 0644 owned by root:root, and
subsequent lacme(8) invocations will likely not renew them for a while.
This change also saves a chown(2) call. And the new logic (chown resp.
chmod from root:root resp. 0600) is safe if we ever include private key
material in there too.
Diffstat (limited to 'debian/source/format')
0 files changed, 0 insertions, 0 deletions