#!/bin/sh set -e # temp dirs permissions chown root:www-data /var/lib/pmb/backup chown root:www-data /var/lib/pmb/backup/backups chown root:www-data /var/lib/pmb/temp chmod 2775 /var/lib/pmb/backup chmod 2775 /var/lib/pmb/backup/backups chmod 2775 /var/lib/pmb/temp # Reloading apache service apache2 reload #DEBHELPER# exit 0