Resolve ownership issues with mounted directories

This commit is contained in:
Derek "tachyon" Reese 2021-09-20 20:52:53 -07:00 committed by GitHub
parent 2dbbbc6006
commit 7153867680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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