summaryrefslogtreecommitdiff
path: root/etc/powerdns/fixperms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/powerdns/fixperms.sh')
-rwxr-xr-xetc/powerdns/fixperms.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/powerdns/fixperms.sh b/etc/powerdns/fixperms.sh
new file mode 100755
index 0000000..4879313
--- /dev/null
+++ b/etc/powerdns/fixperms.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2set -ex
3set -- /etc/powerdns /etc/powerdns/powerdns.sqlite3*
4chown pdns.dyndns "$@"
5chmod ug+rw "$@"