diff --git a/test/backupninja.bats b/test/backupninja.bats
index 083beaec167eedd34edb9c2c2081b4383d39655d..6055af7734957a3adc7b4120fba905fb1716c3cd 100644
--- a/test/backupninja.bats
+++ b/test/backupninja.bats
@@ -72,6 +72,14 @@ create_test_action() {
     echo "${lines[0]}" | grep -qe '^Configuration files must not be writable/readable by group staff!'
 }
 
+@test "permissions: admingroup allows non-root group ownership of backup action" {
+    create_test_action
+    setconfig backupninja.conf admingroup staff
+    chgrp staff "${BATS_TMPDIR}/backup.d/test.sh"
+    run backupninja --now -f "${BATS_TMPDIR}/backupninja.conf"
+    [ "$status" -eq 0 ]
+}
+
 @test "reports: report is mailed when halts > 0" {
     create_test_action halt test_halt
     run backupninja --now -f "${BATS_TMPDIR}/backupninja.conf" --run "${BATS_TMPDIR}/backup.d/test.sh"