Change download chown behavior

This commit is contained in:
Bocki 2022-02-11 11:09:30 +00:00
parent 8ece66b676
commit 61eda30552

View File

@ -4,7 +4,9 @@
printf '[cont-init.d] Fixing Folder Permissions\n'
chown -R abc:abc /config
chown -R abc:abc /downloads
# find all folders in the download folder and own them to the container user. This will not change files but should run quicker on big collections.
find /downloads -type d -exec chown abc:abc {} +
# Fix misconfigured download locations. The container's download map is always /downloads.