]> git.proxmox.com Git - proxmox-backup.git/commit
file logger: add option to make the backup user the log file owner
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Oct 2020 08:35:54 +0000 (10:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Oct 2020 08:37:26 +0000 (10:37 +0200)
commitc7e18ba08af3858f4f9f268c3577a66f3511c568
treeda55c52d5e96002cfe5aafb946a78f7e1b278f19
parentbb14d467963e8ccb646a3f0eefee324b2012a0ba
file logger: add option to make the backup user the log file owner

and use that in ApiConfig to avoid that it is owned by root if the
proxmox-backup-api process creates it first.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/server/config.rs
src/tools/file_logger.rs