You are here: Home » Reply

Reply To: NSLU2 : firefly does not start

#9736

rpedde
Participant

@zemickeyman wrote:

hello

I’ve done the following commands

First in the /opt/etc/mt-daapd/mt-daapd.conf, I’ve checked that my share folder was /share/hdd/data/public/mp3
then


# chmod o+r -R /share/hdd/data/public/mp3
# /opt/etc/init.d/S60mt-daapd
# tail -f /var/log/messages

Apr 2 13:56:40 mt-daapd[573]: Starting rendezvous daemon
Apr 2 13:56:40 mt-daapd[575]: Starting signal handler
Apr 2 13:56:41 mt-daapd[575]: Loading playlists
Apr 2 13:56:41 mt-daapd[575]: Initializing database
Apr 2 13:56:41 mt-daapd[575]: Starting mp3 scan
Apr 2 13:56:41 mt-daapd[575]: Error scanning MP3 files: Permission denied
Apr 2 13:56:41 mt-daapd[575]: Aborting
Apr 2 13:56:41 mt-daapd[574]: Rendezvous socket closed (daap server crashed?) Aborting.
Apr 2 13:56:41 mt-daapd[574]: Aborting

I don’t understand why the permission is denied : in the mp3 folder there is only one mp3 file that have the readable properties ( i’ve checked it)

addtional info : I’ve done everything logged as root (SSH mode)

thanks for your help

zemickeyman

Check the directory it lives in, too. It has to be at least r-x for world to be able to work.

I use rwxr-xr-x for directories and rw-r–r– for files. That’s pretty much the minimum you can have to have it work. Remember, it drops privs and runs as “nobody”, not as root.

— Ron