You are not logged in.
Pages: 1
I've installed mpd and everything works great as far as I can tell. It runs without error, and such but I am having problems with the update feature. I have mu music library stored on my mac partition. I created a symbolic link to my folder called Music Library, which leads to a number of subdirectories containing artist and then album names, then the files themselves. My music is stored in either ALAC or AAC.
I can see the files if I access them through the symlink as root. Do I need to allow user mpd access, as I can't access the files through my normal user.
SOLUTION: Edited /etc/fstab
/dev/sda2 /mnt/mac auto auto,ro,user 0 0
As described on fstab of Arch WIki
Last edited by duke11235 (2010-09-06 02:55:49)
Offline
The user that your MPD is running as, also needs read rights to the music folder.
ᶘ ᵒᴥᵒᶅ
Offline
Is mpd compiled with AAC support? I don'tthink the arch packet supports AAC playback, but I'm not sure.
Last edited by SleepyFloyd (2010-09-05 16:30:05)
Offline
So I changed mpd user id to match the id of my mac account, the fix I used use to allow access to my secondary mac partition in Fedora. However, the database option still shows absolutely nothing. Is it compiled it with AAC support, failure of that would cause the same end result
Last edited by duke11235 (2010-09-05 18:41:57)
Offline
doing mpd -V shows support for AAC and m4a files. How can I tell if the mpd user account has access to the files? I still think that might be the issue. I can play the files in the root account, so something must be off.
Offline
doing mpd -V shows support for AAC and m4a files. How can I tell if the mpd user account has access to the files? I still think that might be the issue. I can play the files in the root account, so something must be off.
Some people advise against it, but you can also run MPD as root (set in your config) to overcome this problem.
ᶘ ᵒᴥᵒᶅ
Offline
Do you start mpd as daemon in rc.conf ? I had trouble with getting it to work that way. I start it either with .xinitrc or as a startup application depending on which DE/WM I'm using. You don't have the trouble with root permissions then. Details are in the wiki.
Last edited by Varg (2010-09-05 20:05:08)
github - tweets
avatar: The Oathmeal
Offline
I think some of the comments may be off. MPD has access to all its files, and I run it in rc.conf, there are no read/write errors on accessing its files themselves. What I can't seem to do for the life of me is to mount /dev/sda2 so everyone has access to all files within. Root does, but everyone else only gets to my home direcotry, going farther triggers a permission denied error in accessing my library. Someone said I could start it as root, but I would prefer to just mount /dev/sda2 with all access. It is only read only anyway. Good last ditch option though.
So can someone tell me how to automatically mount it with all user access to everything. I tried below
Line from /etc/fstab
/dev/sda2 /mnt/mac auto users 0 0
/dev/sda2 contains my mac operating system, if that has something to do with it. Again help would be appreciated, as I really like mpd's functionality and simplicity
Could it be somehow related to my Mac's filesystem permissions or am I mising the point on the fstab?
Last edited by duke11235 (2010-09-05 23:56:40)
Offline
Pages: 1