summaryrefslogtreecommitdiff
path: root/sudoers.d/byteback
diff options
context:
space:
mode:
Diffstat (limited to 'sudoers.d/byteback')
-rwxr-xr-xsudoers.d/byteback1
1 files changed, 1 insertions, 0 deletions
diff --git a/sudoers.d/byteback b/sudoers.d/byteback
index 5a5a39e..121769c 100755
--- a/sudoers.d/byteback
+++ b/sudoers.d/byteback
@@ -3,5 +3,6 @@
byteback ALL = (root) NOPASSWD: /usr/bin/byteback-snapshot
byteback ALL = (root) NOPASSWD: /sbin/btrfs subvolume create /store/backups/*/current
byteback ALL = (root) NOPASSWD: /sbin/btrfs subvolume delete /store/backups/*
+byteback ALL = (root) NOPASSWD: /bin/chown byteback /store/backups/*/current
Defaults:byteback !requiretty