mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-26 04:25:00 +00:00
Resolve ownership issues with mounted directories
This commit is contained in:
parent
2dbbbc6006
commit
7153867680
@ -39,6 +39,12 @@ else
|
|||||||
export UMASK="002"
|
export UMASK="002"
|
||||||
fi
|
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
|
# Set qBittorrent WebUI and Incoming ports
|
||||||
if [ ! -z "${WEBUI_PORT}" ]; then
|
if [ ! -z "${WEBUI_PORT}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user