Merge pull request #201 from linuxserver/lsiown-libtorrentv1
This commit is contained in:
@@ -11,10 +11,10 @@ fi
|
|||||||
# chown download directory if currently not set to abc
|
# chown download directory if currently not set to abc
|
||||||
if [[ -d /downloads ]]; then
|
if [[ -d /downloads ]]; then
|
||||||
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
||||||
chown -R abc:abc /downloads
|
lsiown -R abc:abc /downloads
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# permissions
|
# permissions
|
||||||
chown -R abc:abc \
|
lsiown -R abc:abc \
|
||||||
/config
|
/config
|
||||||
|
|||||||
Reference in New Issue
Block a user