You are not logged in.
Pages: 1
Ok, so I have read the wiki and tried both setups, , but both aren't working.
Firstly I have run this:
chmod a+x /home/phil
chmod -R a+X /home/phil/music
1st method:
[phil@fml ~]$ ls -l ~/.mpd
total 168
drwxrwxr-x 2 phil users 4096 Feb 6 09:27 config
-rwxrwxr-x 1 phil users 0 Feb 6 09:24 db
-rwxrwxr-x 1 phil users 123656 Jan 22 16:32 mpd.db
-rwxrwxr-x 1 phil users 4367 Aug 9 21:22 mpd.error
-rwxrwxr-x 1 phil users 0 Feb 6 09:23 mpd.log
-rwxrwxr-x 1 phil users 0 Feb 6 09:23 mpd.pid
-rwxrwxr-x 1 phil users 31246 Feb 5 23:39 mpdstate
-rwxrwxr-x 1 phil users 0 Feb 6 09:23 playlists
[phil@fml ~]$ cat ~/.mpd/config/mpd.conf
music_directory "/home/phil/music"
playlist_directory "/home/phil/.mpd/playlists"
db_file "/home/phil/.mpd/mpd.db"
log_file "/home/phil/.mpd/mpd.log"
pid_file "/home/phil/.mpd/mpd.pid"
state_file "/home/phil/.mpd/mpdstate"
user "mpd"
#bind_to_address "any"
#bind_to_address "~/.mpd/socket"
#port "6600"
[phil@fml ~]$ mpd /home/phil/.mpd/config
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
output: Successfully detected a alsa audio device
[phil@fml ~]$while starting that last command, in the Sonata window I see "No read permissions". I also tried the other method from the wiki and that didn't help either.
Any ideas?
Last edited by Dethredic (2010-02-06 15:24:36)
Offline
Offline
Its probably talking about the media files in /home/phil/music. (and the directory itself) they need to be readable by user mpd.
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Try this:
1. change the user in your .mpd,
sudo chown -R mpd:mpd ~/.mpd2. change your config file, and comment the line: user "mpd".
3. change the owner of the file config.
sudo chown user:user mpd.conf4. change the permissions:
chmod 700 mpd.conf5. for the last, run it.
mpd /home/phil/.mpd/config/mpd.confI got the same problem, and i solved doing this.
Good luck!
Last edited by n0dix (2010-02-06 19:20:10)
Offline
Pages: 1