1 2 3 4 5 6 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