diff --git a/root/etc/cont-init.d/10-fix_folders b/root/etc/cont-init.d/10-fix_folders index ac306a0..18c2396 100644 --- a/root/etc/cont-init.d/10-fix_folders +++ b/root/etc/cont-init.d/10-fix_folders @@ -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.