diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index 453abc4..c5510ac 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -7,7 +7,7 @@ fi chown -R ${PUID}:${PGID} /config/qBittorrent # Set the rights on the /downloads folder -chown -R ${PUID}:${PGID} /downloads +find /downloads -not -user ${PUID} -execdir chown ${PUID}:${PGID} {} \+ # Check if qBittorrent.conf exists, if not, copy the template over if [ ! -e /config/qBittorrent/config/qBittorrent.conf ]; then