fix(snappymail): set data dir owner to uid 82 (www-data/Alpine)
SnappyMail container runs as www-data (uid 82 in Alpine). Directory was created as deploy:deploy (uid 1000) → [202] is_readable() error. Fix: chown 82:82 on the data directory. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
624b85cd15
commit
cd562da4d2
1 changed files with 3 additions and 3 deletions
|
|
@ -24,9 +24,9 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ tools_root }}/snappymail/data"
|
path: "{{ tools_root }}/snappymail/data"
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ deploy_user }}"
|
owner: "82" # www-data uid in Alpine (SnappyMail container user)
|
||||||
group: "{{ deploy_group }}"
|
group: "82"
|
||||||
mode: "0750"
|
mode: "0755"
|
||||||
|
|
||||||
# ── TLS certificate for mail.csrx.ru (via certbot + Cloudflare DNS-01) ───────
|
# ── TLS certificate for mail.csrx.ru (via certbot + Cloudflare DNS-01) ───────
|
||||||
- name: Install certbot and Cloudflare DNS plugin
|
- name: Install certbot and Cloudflare DNS plugin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue