Apply chown only on files needing it
This commit is contained in:
parent
0981380ec1
commit
e67d7d841f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user