You are not logged in.

#1 2009-07-04 04:48:55

modulationz
Member
Registered: 2009-06-29
Posts: 6

Error in MPD Wiki page?

I believe the MPD Wiki page contains an error (that will keep MPD from working correctly), but I am not 100% sure that I didn't miss something.

The MPD Wiki page states:
"
MPD needs to have +x permissions on ALL parent directories to your music collection (ie. if it's located outisde of "mpd" home directory /var/lib/mpd). By default useradd sets permissions on home dir to 1700 drwx------. So if your like me you will need to change permissions of /home/user. Example... my music collection is located /home/user/music.

# chmod a+x /home/user
# chmod -R a+x /home/user/music

"

When I issued the sudo mpd --create-db command, the database file was empty.  To fix this problem, I had to execute the following commands (as opposed to the ones in the Wiki page):

# chmod a+rx /home/user
# chmod -R a+rx /home/user/music

Notice that "read" permission was added.  After I did this, the database was successfully created.

Offline

#2 2009-07-04 04:58:57

smurnjiff
Member
Registered: 2007-06-25
Posts: 211

Re: Error in MPD Wiki page?

if you run mpd as your username, then you won't have this problem

Offline

Board footer

Powered by FluxBB