diff options
Diffstat (limited to 'etc/powerdns/fixperms.sh')
-rwxr-xr-x | etc/powerdns/fixperms.sh | 5 |
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 | ||
2 | set -ex | ||
3 | set -- /etc/powerdns /etc/powerdns/powerdns.sqlite3* | ||
4 | chown pdns.dyndns "$@" | ||
5 | chmod ug+rw "$@" | ||