I tried for hours to get minidlna working to access media in my home directory.
I read the info in the ArchWiki that additional steps have to be done to do so.
I followed the steps and did them all but maybe something is missing.
The default config worked fine.
Yes, in my case some years ago it was the thing.
My configuration is pretty similar to your one. I have folders unter /home where all the music, videos and pictures are stored. In /etc/minidlna.conf the different media_dir for audio, video and pictures were set.
I do not change the user for the miniDNLA-service, but in my override.conf I have following entries:
[Service]
ProtectHome=read-only
The parameter DynamicUser is set to yes
Hope it helps!
ProtectHome=on was the bad guy - I forgot this one.
Changing DynamicUser=yes wasn’t needed in my case and seems to be important if you have to mount different media shares (dynamic).
You’re right and I don’t even know why I did it - maybe because so many forum posts had it like that.
I changed db_dir and log_dir back to standard folder /var/ so you won’t need any write permissions in your home folder.
That’s why you have to set ProtectHome=read-only
Ah sorry, my mistake. The user minidlna is in the same group as the owner of the folders in /home
And the folders and all data inside are readable for this group.
yes, I think this has at least to be. you would’t have access if not…
so you still have user=minidlna in your /etc/minidlna.conf so that group permission is active?