-
-
Notifications
You must be signed in to change notification settings - Fork 829
Closed
Labels
feature requestNew feature or requestNew feature or requestpri/highHigh priority issueHigh priority issuestatus/approvedThis issue is ready to be implementedThis issue is ready to be implemented
Milestone
Description
Describe the feature you'd like
When experimenting with hoarder I found that deleting documents in the mounted directories was impossible without root access. This means the images are mounted with the root (1000) user. A simple solution is using the
user: "${UID}:${GID}"
in the yaml and adding those variables to the .env file
As explained for instance her: https://stackoverflow.com/questions/40462189/docker-compose-set-user-and-group-on-mounted-volume
Describe the benefits this would bring to existing Hoarder users
Not only is this strongly recommended behaviour these days https://www.howtogeek.com/devops/why-processes-in-docker-containers-shouldnt-run-as-root/ it is easier and safer.
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?
- I have searched for existing issues and none cover my fundamental request
Additional context
No response
bishtawi, basnijholt, engels74, bcyran, bbck and 11 moreVinnyG9, basnijholt, engels74 and remicorniere
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or requestpri/highHigh priority issueHigh priority issuestatus/approvedThis issue is ready to be implementedThis issue is ready to be implemented