aboutsummaryrefslogtreecommitdiffstats
path: root/testing/backuppc/backuppc.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/backuppc/backuppc.post-install')
-rw-r--r--testing/backuppc/backuppc.post-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/backuppc/backuppc.post-install b/testing/backuppc/backuppc.post-install
new file mode 100644
index 0000000000..0ba76f20f4
--- /dev/null
+++ b/testing/backuppc/backuppc.post-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+for dir in /etc /var/log /var/lib
+do
+chown -R backuppc.backuppc ${dir}/BackupPC &>/dev/null
+done
+
+chmod 774 /usr/lib/BackupPC/bin/* &>/dev/null