Fix error when configuration file contains "umask" option (#437).

This commit is contained in:
Dan Helfman 2021-07-27 10:04:22 -07:00
parent 80b33fbf8a
commit b3f5a9d18f
3 changed files with 7 additions and 3 deletions

4
NEWS
View file

@ -1,3 +1,7 @@
1.5.17
* #437: Fix error when configuration file contains "umask" option.
* Remove test dependency on vim and /dev/urandom.
1.5.16 1.5.16
* #379: Suppress console output in sample crontab and systemd service files. * #379: Suppress console output in sample crontab and systemd service files.
* #407: Fix syslog logging on FreeBSD. * #407: Fix syslog logging on FreeBSD.

View file

@ -292,7 +292,7 @@ properties:
$borg_base_directory/.config/borg/keys $borg_base_directory/.config/borg/keys
example: /path/to/base/config/keys example: /path/to/base/config/keys
umask: umask:
type: string type: integer
description: Umask to be used for borg create. Defaults to 0077. description: Umask to be used for borg create. Defaults to 0077.
example: 0077 example: 0077
lock_wait: lock_wait:
@ -787,7 +787,7 @@ properties:
example: example:
https://cronhub.io/start/1f5e3410-254c-11e8-b61d-55875966d01 https://cronhub.io/start/1f5e3410-254c-11e8-b61d-55875966d01
umask: umask:
type: scalar type: integer
description: | description: |
Umask used when executing hooks. Defaults to the umask that Umask used when executing hooks. Defaults to the umask that
borgmatic is run with. borgmatic is run with.

View file

@ -1,6 +1,6 @@
from setuptools import find_packages, setup from setuptools import find_packages, setup
VERSION = '1.5.16' VERSION = '1.5.17'
setup( setup(