FS#13121 - [mpd] Running mpd (daemon) as mpd (user) breaks the "update the library"
Attached to Project:
Arch Linux
Opened by João Vieira (Vieira) - Wednesday, 04 February 2009, 19:26 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 13 October 2009, 14:20 GMT
Opened by João Vieira (Vieira) - Wednesday, 04 February 2009, 19:26 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 13 October 2009, 14:20 GMT
|
Details
Description:
If I run mpd (daemon) as mpd (user) by setting user=mpd in the mpd.conf file then I cannot update library from sonata (running as my user). Also If I try to mpd --create-db an error occurs: cannot setgid for user "mpd" at line 46: Operation not permitted This makes running mpd as mpd a bit useless however the mpd.install creates mpd user and group so I suspect that users are intended to run mpd as user mpd? Additional info: * 0.14.1-3 * in /etc/mpd.conf user=mpd Steps to reproduce: 1) set user=mpd in the mpd.conf file. 2) sudo /etc/rc.d/mpd restart 3) check that you can no longer update the library from sonata or ny running mpd --create-db (without sudo). |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Tuesday, 13 October 2009, 14:20 GMT
Reason for closing: Works for me
Tuesday, 13 October 2009, 14:20 GMT
Reason for closing: Works for me
Comment by Eric Belanger (Snowman) -
Friday, 20 February 2009, 04:21 GMT
Alexander: I'm working on an mpd rebuild. If you can test this,
and post fixed PKGBUILD and/or .install file here, I'll do the fix
in the repo. I could also update it but I don't use mpd.
Comment by Eric Belanger (Snowman) -
Saturday, 21 February 2009, 06:54 GMT
You can't update the library because it's in a directory which is
rw for the mpd user only. Setting the directory to rw for the mpd
group too would fix this. I'm unsure what the implications would
be.
Comment by
Gerardo Exequiel Pozzi (djgera) -
Saturday, 06 June 2009, 18:26 GMT
what is the status of this?
Comment by Andrea Scarpino (BaSh) -
Saturday, 03 October 2009, 13:12 GMT
try to reinstall package (to reset rights) because I can update my
library here.
Comment by
Roman Kyrylych (Romashka) - Saturday,
03 October 2009, 13:14 GMT
chown mpd:mpd -R /var/{lib,log,run}/mpd is done during
install/upgrade, so unless you broke permissions or use another
path to the library - apps like sonata should have access