mirror of
https://github.com/linuxserver/docker-qbittorrent.git
synced 2025-06-27 17:00:42 -04:00
Use lsiown for init
This commit is contained in:
parent
121cbb9462
commit
5f0e71b743
1 changed files with 2 additions and 2 deletions
|
@ -11,10 +11,10 @@ fi
|
|||
# chown download directory if currently not set to abc
|
||||
if [[ -d /downloads ]]; then
|
||||
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
||||
chown -R abc:abc /downloads
|
||||
lsiown -R abc:abc /downloads
|
||||
fi
|
||||
fi
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
lsiown -R abc:abc \
|
||||
/config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue