Hello,
Here is again a change for Borg to allow to give the --umask option on each borg invocation.
Please fetch branch borg-umask
at http://git.ni.fr.eu.org/nicolas/propellor.git
.
As a side change, I use {now}
instead of a call to $(date …)
, I think it's more idiomatic for borg usage.
Tested with stretch and buster.
I checked and there was no justification given for the use of date rather than {now} ... Perhaps it predated that?
The only difference between the two is the use of date for some reason included nanaosecond precision. Otherwise the format is the same.
I have no objection to making that change, but I think it needs to be done in a separate commit, rather than in passing.
Also, I think
UseUmask Int
could beUseUmask FileMode
. At least FileMode is used in some other parts of propellor that deal with umasks.Branch is updated.
I also rebased on 5.11.