docker-rtorrent-flood icon indicating copy to clipboard operation
docker-rtorrent-flood copied to clipboard

Setting unwanted permissions for shared directories

Open JeremyMahieu opened this issue 4 years ago • 0 comments
trafficstars

https://github.com/Wonderfall/docker-rtorrent-flood/blob/02122e670c1b5869e85ba0485d5650ae770872dc/rootfs/usr/local/bin/run.sh#L9

/data is usually a directory that contains all the finished torrent data. This means it's probably shared with other services. Setting the owner by default to "991:991" or to anything is very annoying. It means other services will stop working because of (re)starting rtorrent.

Wouldn't it be better to check permissions, log a warning if read/write is not permitted and stop?

JeremyMahieu avatar Nov 27 '20 13:11 JeremyMahieu