srvbackup

Backup server configuration with privledge separation
Log | Files | Refs | README

commit 76054153780324fdc443c363248c144aec787750
parent 9c0be458fde1577549ac916ebfd40a5ce4259dec
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Thu, 27 Apr 2023 20:26:21 -0700

Set umask to the proper value

This way anyone is allowed to read the generated backup file.

Diffstat:
Msrvbackup | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/srvbackup b/srvbackup @@ -45,6 +45,8 @@ else shift fi +umask 022 + case "$c" in (make) createdir