summaryrefslogtreecommitdiff
path: root/etc/powerdns/fixperms.sh
blob: 487931336d53a20ad27e196f7b73937ea5c4e4c5 (plain)
1
2
3
4
5
#!/bin/sh
set -ex
set -- /etc/powerdns /etc/powerdns/powerdns.sqlite3*
chown pdns.dyndns "$@"
chmod ug+rw "$@"