From a57ce270ac13b41212c9e6bf121edf32d0ab1345 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 30 Jan 2021 11:48:49 +0100 Subject: [PATCH] postinst: add user backup to group tape So that it is possible to access tape and changer devcies. --- debian/postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/postinst b/debian/postinst index b842d213..8980a90f 100644 --- a/debian/postinst +++ b/debian/postinst @@ -6,6 +6,9 @@ set -e case "$1" in configure) + # need to have user backup in the tapoe group + usermod -a -G tape backup + # modeled after dh_systemd_start output systemctl --system daemon-reload >/dev/null || true if [ -n "$2" ]; then