mirror of
https://github.com/linuxserver/docker-transmission.git
synced 2025-10-30 08:25:48 +01:00
chown download subfolders too
This commit is contained in:
@@ -45,7 +45,10 @@ chown abc:abc \
|
|||||||
/config/settings.json \
|
/config/settings.json \
|
||||||
|
|
||||||
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
||||||
chown abc:abc /downloads
|
chown abc:abc \
|
||||||
|
/downloads \
|
||||||
|
/downloads/complete \
|
||||||
|
/downloads/incomplete
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$(stat -c '%U' /watch)" != "abc" ]]; then
|
if [[ "$(stat -c '%U' /watch)" != "abc" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user