Incorrect file permissions on fresh Install

I’ve just completed a fresh installation of ZimaOS and am having problems with Docker containers accessing my media folders.

Sonarr fails when I try to add a folder, displaying this error:

Unable to add root folder — Folder ‘/tv/’ is not writable by user ‘abc’

I’ve found that the media directories are owned by root:root with permissions set to 755, while Sonarr runs as UID 911. This prevents Sonarr from writing to the folders even though they were created through the files app.

Expected behaviour: Media folders should work with the relevant Docker applications when configured through the normal ZimaOS interface, without requiring users to manually fix Linux permissions after a fresh install.

Me and my friend are both having this issue on the latest version. The only way to fix it is to run the following on each of my media directories.

sudo chgrp -R 1000 “/media/HDD 01/jellyfin”

sudo find “/media/HDD 01/jellyfin” -type d -exec chmod 2775 {} +

sudo find “/media/HDD 01/jellyfin” -type f -exec chmod g+rw {} +