Use lsiown for init

This commit is contained in:
TheSpad 2022-11-12 14:23:13 +00:00
parent 121cbb9462
commit 5f0e71b743
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -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