diff options
Diffstat (limited to 'testing/backuppc/backuppc.post-install')
-rw-r--r-- | testing/backuppc/backuppc.post-install | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/backuppc/backuppc.post-install b/testing/backuppc/backuppc.post-install index b0877e22b4..0ba76f20f4 100644 --- a/testing/backuppc/backuppc.post-install +++ b/testing/backuppc/backuppc.post-install @@ -1,3 +1,7 @@ #!/bin/sh -chown -R backuppc.backuppc /etc/BackupPC &>/dev/null -chown -R backuppc.backuppc /var/lib/backup/data/BackupPC &>/dev/null +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 |