diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index a465d73..e98d465 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -39,6 +39,12 @@ else export UMASK="002" fi +if [[ ! -e /downloads ]]; then + mkdir -p /downloads + chown -R ${PUID}:${PGID} /downloads +else + chown -R ${PUID}:${PGID} /downloads +fi # Set qBittorrent WebUI and Incoming ports if [ ! -z "${WEBUI_PORT}" ]; then