aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-15 10:20:27 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-16 18:42:49 +0300
commit84a6c4c7045e5f6bd044e7fdd8d36674ebde5d72 (patch)
tree833138bcf7f4ce3fdcb46357643360471705af21
parentb5860daf11ac353049cb1654b9414a129e5cfb96 (diff)
Fix storage permissions
-rw-r--r--roles/host/tasks/main.yml4
-rw-r--r--roles/jail/tasks/main.yml3
2 files changed, 2 insertions, 5 deletions
diff --git a/roles/host/tasks/main.yml b/roles/host/tasks/main.yml
index ed9b476..d826b2e 100644
--- a/roles/host/tasks/main.yml
+++ b/roles/host/tasks/main.yml
@@ -175,8 +175,8 @@
file:
path: /usr/local/jails/volumes/storage
state: directory
- owner: "1001"
- group: "1001"
+ owner: storage
+ group: storage
mode: "0777"
- name: Create storage directories
diff --git a/roles/jail/tasks/main.yml b/roles/jail/tasks/main.yml
index be72e3b..be9d9c1 100644
--- a/roles/jail/tasks/main.yml
+++ b/roles/jail/tasks/main.yml
@@ -62,9 +62,6 @@
file:
path: "{{ item.src }}"
state: directory
- owner: root
- group: wheel
- mode: "0755"
loop: "{{ nullfs | default([]) }}"
loop_control:
label: "{{ item.src }}"