Paperless Mail: consumer Permission denied in docker /tmp #4137
-
Hi, I am just trying out Paperless Mail and added tika aswell as gotenberg to the docker compose. Mail consumption worked rly well until I wanted to try out different mail rules.
Since the tmp directory is in the docker image, I thought that compose down&up would fix it, but the error is persistent. Even deleting the mail account and rules to maybe cascade any leftover db entries doesn't fix it.
I don't think I did something too unreasonable to cause this, despite trying to consume the same mail twice. Paperless 1.17.4
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Wow, this is indeed a bug and I probably should have noticed it earlier. Because the mail_fetcher task is executed in the shell with root permissions when using the management command, the temp files receive the wrong permissions. Changing Let me know if I should open an issue or pr for this. |
Beta Was this translation helpful? Give feedback.
-
You should use the provided mail_fetcher command or be familiar with Docker permissions, users and usage of gosu |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
You should use the provided mail_fetcher command or be familiar with Docker permissions, users and usage of gosu