From a80250f2ea2a873678709afb699bfd026fac3ee5 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Sat, 12 Nov 2022 14:23:56 +0000 Subject: [PATCH] Use lsiown for init --- root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run b/root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run index ea8294b..8fd2f68 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run @@ -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