minidlna will not access my pictures since adding a picture folder.
Folder permissions for my pictures folder: drwxr-xr-x
minidlna status returns-
minidlna.c:674: error: Media directory "PV,/home/name/Pictures" not accessible [Permission denied]
It worked fine previously. How do I set the permissions for my media please? I have tried set user=root for /etc/default/minidlna and /etc/minidlna.conf followed by reload and restart, but still the same error code.
Changed permissions to drwxrwxr-x but still not working.
I am using Lubuntu 24.04 LTS.
PVis a valid media_dir configuration syntax? Themanpage forminidlna.confstates that "the letter ‘A’, ‘V’ or ‘P’, followed by a comma (‘,’) followed by the path" constitutes valid syntax for configuring a media_dir, but it nowhere mentions the ability to use more than one letter (nor it provides any example configuration using more than one letter) – kos Aug 25 '24 at 09:49prepend the directory name with a letter representing the type (A, P or V),
followed by a comma, as so:
* "A" for audio (eg. media_dir=A,/var/lib/minidlna/music)
* "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
* "V" for video (eg. media_dir=V,/var/lib/minidlna/videos)
* "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera)
– Marty Aug 26 '24 at 09:07manpage from Noble that I linked – kos Aug 26 '24 at 09:18minidlna), you'll need to make it so that that user is able to access the folder. Adding that user to your user's group could suffice, as that way it would at least be able to enter and read the contents of your home directory (750) and Pictures (755) – kos Aug 29 '24 at 17:57sudo usermod -aG "$(id -gn)" minidlna, which will addminidlnato your primary group (you can verify this withgroups minidlna). After that, restarting the service should be enough, but if it doesn't work try a reboot as well. – kos Aug 30 '24 at 10:27minidlnain your primary group as an answer, perhaps you'll want to use that instead – kos Aug 30 '24 at 20:02