mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 18:45:25 +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"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user