Skip to content

Commit 3609508

Browse files
authored
Allow writes by knot (#251)
* allow writes by knot * files too
1 parent 76dfb62 commit 3609508

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

deploy_knot.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ fi
1616

1717
python3 generate_nn.py
1818
python3 makereverse.py
19+
chown root:knot *.zone
1920
cp -f *.zone /var/lib/knot/zones
2021

2122
systemctl restart knot

infra/ansible/roles/knot_authoritative/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
state: directory
6262
owner: root
6363
group: knot
64-
mode: "750"
64+
mode: "760"
6565

6666
- name: Git checkout
6767
ansible.builtin.git:

0 commit comments

Comments
 (0)