Unarchive task fails if paperless_ngx_conf_usermap_uid != 1000
Steps to reproduce:
- run this paperless-ngx role with `paperless_ngx_conf_usermap_uid` != 1000
What happens?
- On the following tasks the program doing the actual unpacking fails with _bad address_
- `tasks/base_dependencies/python.yml -> Download and extract python sources`
- `tasks/paperless_ngx/release_files.yml -> Download and extract paperless-ngx`
---
Hi 👋🏾
thanks a lot for this ansible role, it is great work and I really appreciate it. I noticed that when I choose a uid other than 1000 for the `paperlessngx` system user, the `ansible.builtin.unarchive` step fails. Since the files in the archives are owned by a user with the uid 1000 the untar process refuses to change its ownership. This happens even though the tasks are have the `become` field set to `true`. I hope this is reproducible. I will come up with a PR #240 with a proposal on how to fix this issue.
4 条评论