mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-22 02:03:01 +02:00
Add the "CAP_FOWNER" capability to "CapabilityBoundingSet" in the sample systemd service, so that Borg can open source files without changing file access times (#1334).
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
disabling dumping of scheduled events, stored routines, and tablespaces, respectively.
|
disabling dumping of scheduled events, stored routines, and tablespaces, respectively.
|
||||||
* #1333: Fix the "--progress" flag on the "compact" action to actually update the progress of
|
* #1333: Fix the "--progress" flag on the "compact" action to actually update the progress of
|
||||||
segment compaction.
|
segment compaction.
|
||||||
|
* #1334: Add the "CAP_FOWNER" capability to "CapabilityBoundingSet" in the sample systemd service,
|
||||||
|
so that Borg can open source files without changing file access times.
|
||||||
* Fix a bug in which the "compact" action does not pass a compact threshold of zero to Borg.
|
* Fix a bug in which the "compact" action does not pass a compact threshold of zero to Borg.
|
||||||
|
|
||||||
2.1.6
|
2.1.6
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ ProtectSystem=full
|
|||||||
# includes, for instance, programs to snapshot filesystems (e.g. ZFS, LVM, and
|
# includes, for instance, programs to snapshot filesystems (e.g. ZFS, LVM, and
|
||||||
# Btrfs). But rather than commenting this out entirely, one workaround may be to
|
# Btrfs). But rather than commenting this out entirely, one workaround may be to
|
||||||
# add "CAP_SYS_ADMIN".
|
# add "CAP_SYS_ADMIN".
|
||||||
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_NET_RAW
|
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_FOWNER CAP_NET_RAW
|
||||||
|
|
||||||
# Lower CPU and I/O priority.
|
# Lower CPU and I/O priority.
|
||||||
Nice=19
|
Nice=19
|
||||||
|
|||||||
Reference in New Issue
Block a user