chown download subfolders too

This commit is contained in:
TheSpad
2022-11-03 11:30:15 +00:00
parent 7f034d3763
commit bfb0766dd1

View File

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