simple-torrent icon indicating copy to clipboard operation
simple-torrent copied to clipboard

Allow setting UID & GID

Open rgarrigue opened this issue 5 years ago • 2 comments

Hi there

Would you mind adding the possibility to set the UID & GID for the download directory ? That would allow integrating with other container more easily, enforcing the same user accros the files

You can do that adding an entrypoint script, like this https://github.com/rgarrigue/cozy-docker/blob/master/docker-entrypoint-production.sh#L26-L31

Best regards,

rgarrigue avatar May 11 '20 09:05 rgarrigue

likewise, I'm wary of allowing the container run as "root"

firestrife23 avatar Aug 29 '21 04:08 firestrife23

You can put the user option in the compose file, or the --user argument in docker command line, to override the container's user.

The program is not privilege sensetive, in the container I just put it to root to make things easier.

boypt avatar Aug 29 '21 10:08 boypt