You are not logged in.
Hey...
I moved my Music collection to a new PC; now trying to get mpd running. I'm using the mpd.conf from my old machine, with which I never had any problems, so this is pretty weired.
/etc/mpd.conf:
music_directory "/home/sleepy/Music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/db"
log_file "/var/log/mpd/mpd.log"
error_file "/var/log/mpd/mpd.error"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"
[...]
Starting mpd gives me
failed to stat music directory "/home/sleepy/Music": Permission denied
Decided to use the sledgehammer method,, so I did a "chmod 777 /home/sleepy/Music"
ls -la | grep Music
--> drwxrwxrwx 958 sleepy users 36864 27. Okt 18:53 Music
... but mpd still bitches about the permissions. It starts, but no client can find any files (obviously...)
Any ideas?
Last edited by SleepyFloyd (2010-10-27 17:30:48)
Offline
everyone always forgets....
to access any folder you need +x on all its parents
/home/sleepy is likely mod 700 meaning you can't access anything under it (regardless of the perms on the directory itself).
you can: run mpd as you, 755 /home/sleepy, move your music, or use a mount --bind to a directory the mpd user can read.
also, this.
Last edited by brisbin33 (2010-10-27 17:27:11)
//github/
Offline
Hey, thanks alot.
Works now. Didn't think about the permissions of /home.
Offline