diff --git a/lib/init/nomad/cluster-up.sh b/lib/init/nomad/cluster-up.sh index 1662b40..4e39d88 100755 --- a/lib/init/nomad/cluster-up.sh +++ b/lib/init/nomad/cluster-up.sh @@ -282,6 +282,8 @@ for d in "${HOST_VOLUME_DIRS[@]}"; do log "creating: ${d}" install -d -m 0777 -o root -g root "$d" fi + # Ensure correct permissions (fixes pre-existing 0755 dirs on re-run) + chmod 0777 "$d" done # ── Step 5/9: /etc/nomad.d/server.hcl + client.hcl ───────────────────────────