Mpd and permissions in Ubuntu
Question:
I have been using mpd on my pc for a while. Now it stopped working. It is a computer I only use when at my parents' home, so it may have stopped working after upgrading to Hardy, or it may not, I'm not sure.
I have created a symbolic link inside /var/lib/mpd/music, pointing to my music folder, which is on a NTFS drive. Now
sudo mpd --create-db
has no effect whatsoever. The database is empty. I tried changing the permissions of my music folder, but it seems I can't. Could this be related to NTFS? How can I make mpd work again?
Answer:
Ok, fixed. I'll mention how in case someone reads this again. When run as root, mpd drops user privileges and runs as a user specified in the file /etc/mpd.conf or ~/.mpdconf
The default was "mpd"; in order to make it work with NTFS I had to change this to "root".


Recent comments
34 weeks 4 days ago
34 weeks 4 days ago
35 weeks 4 days ago
36 weeks 22 hours ago
36 weeks 5 days ago
36 weeks 5 days ago
37 weeks 2 hours ago
38 weeks 4 days ago
50 weeks 5 days ago
1 year 2 weeks ago