Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi, I'm trying to run minidlna (ver 1.0.22) under fun_plug 0.5, DNS-321 and getting "Media directory not accessible!" error.
minidlna is running as root:
ps -aef | grep minidlna
18166 root /ffp/sbin/minidlna -f /ffp/etc/minidlna.conf
18167 root /ffp/sbin/minidlna -f /ffp/etc/minidlna.conf
My shared media library user/group is win/wing with chmod 755:
ls -l /mnt/HD_a2/mcwin2/My\ Music/iTunes
drwxr-xr-x 760 win wing 36864 Apr 4 21:03 iTunes Music
minidlna.conf points to music library
media_dir=A,/mnt/HD_a2/mcwin2/My\ Music/iTunes/iTunes\ Music
If I put files under media_dir=A,/mnt/HD_a2/Media/Music, which is owned by root, minidlna can access the folder.
ls -l /mnt/HD_a2/Media
drwxr-xr-x 2 root root 4096 Apr 3 19:14 Music
I tried adding root to the wing group, but that didn't work (probably something to do with ffp and dns-321 users). Any other options, other than changing the permissions to root?
Thank you
Don
Offline
First I think you should try without spaces in the name
Offline
That's interesting and lead me to a working solution. Because the family is tied to iTunes, I didn't want to restructure the music library. What I ended up doing is creating a symbolic link (without spaces) to the music folder:
ln -s My\ Music Music
I'm not sure I needed to, but I deleted the minidlna files.db and restarted minidlna.
All is good - thank you!
Don
Last edited by dmac001 (2012-04-06 18:38:11)
Offline