From f3c4c5ce0857f96c3e864a20f055ad1e5c72bfb5 Mon Sep 17 00:00:00 2001
From: intrigeri <intrigeri@boum.org>
Date: Tue, 5 Sep 2017 12:49:20 +0000
Subject: [PATCH] Override the non-standard-dir-perm Lintian flag for
 /etc/backup.d, documenting why it is shipped this way.

---
 debian/backupninja.lintian-overrides | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 debian/backupninja.lintian-overrides

diff --git a/debian/backupninja.lintian-overrides b/debian/backupninja.lintian-overrides
new file mode 100644
index 0000000..156d818
--- /dev/null
+++ b/debian/backupninja.lintian-overrides
@@ -0,0 +1,4 @@
+# Policy ยง10.9 wants 0755 or 2770 but since secrets could be stored there
+# we want this only accessed by root, and optionally by the "admingroup"
+# defined in backupninja.conf
+non-standard-dir-perm etc/backup.d/ 2770 != 0755
-- 
GitLab