#1700 PR merged
: Added option BORGBACKUP_UMASK.¶
Labels: enhancement
, fixed / solved / done
gozora opened issue at 2018-01-22 18:24:¶
Borg common options have possibility to set umask (--umask) for archive
operations.
Until this commit, there was no way to adapt umask for Borg archives
from within ReaR.
C.f.
https://github.com/rear/rear/issues/1699
gozora commented at 2018-01-22 18:27:¶
Without explicit set of BORGBACKUP_UMASK in local.conf (Borg default umask 0077 will be set):
total 5168
drwx------ 3 borg borg 4096 Jan 22 18:51 .
drwxr-xr-x 11 root root 4096 Jan 22 17:29 ..
-rw------- 1 borg borg 164 Nov 21 16:04 config
drwx------ 3 borg borg 4096 Nov 21 16:04 data
-rw------- 1 borg borg 1043 Jan 22 17:18 hints.609
-rw------- 1 borg borg 5244058 Jan 22 17:18 index.609
-rw------- 1 borg borg 190 Jan 22 17:18 integrity.609
-rw------- 1 borg borg 16 Jan 22 17:17 nonce
-rw------- 1 borg borg 26 Nov 21 16:04 README
With set BORGBACKUP_UMASK="0002" in local.conf
total 5168
drwxr-xr-x 3 borg borg 4096 Jan 22 19:10 .
drwxr-xr-x 11 root root 4096 Jan 22 17:29 ..
-rw-rw-r-- 1 borg borg 209 Jan 22 18:23 config
drwxrwxr-x 3 borg borg 4096 Jan 22 18:23 data
-rw-rw-r-- 1 borg borg 70 Jan 22 19:01 hints.8
-rw-rw-r-- 1 borg borg 5244058 Jan 22 19:01 index.8
-rw-rw-r-- 1 borg borg 190 Jan 22 19:01 integrity.8
-rw-rw-r-- 1 borg borg 16 Jan 22 18:24 nonce
-rw-rw-r-- 1 borg borg 73 Jan 22 18:23 README
V.
[Export of Github issue for rear/rear.]