From b3f5a9d18f72639fa6109d8fb3d1d08d426b5c16 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 27 Jul 2021 10:04:22 -0700 Subject: [PATCH] Fix error when configuration file contains "umask" option (#437). --- NEWS | 4 ++++ borgmatic/config/schema.yaml | 4 ++-- setup.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index fa0034407..ba8e67583 100644 --- a/NEWS +++ b/NEWS @@ -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 * #379: Suppress console output in sample crontab and systemd service files. * #407: Fix syslog logging on FreeBSD. diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index 00df52e33..a2f3bea6a 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -292,7 +292,7 @@ properties: $borg_base_directory/.config/borg/keys example: /path/to/base/config/keys umask: - type: string + type: integer description: Umask to be used for borg create. Defaults to 0077. example: 0077 lock_wait: @@ -787,7 +787,7 @@ properties: example: https://cronhub.io/start/1f5e3410-254c-11e8-b61d-55875966d01 umask: - type: scalar + type: integer description: | Umask used when executing hooks. Defaults to the umask that borgmatic is run with. diff --git a/setup.py b/setup.py index 80d181554..42cf70d26 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import find_packages, setup -VERSION = '1.5.16' +VERSION = '1.5.17' setup(