[MacPorts] #24042: mpd runs as root
MacPorts
noreply at macports.org
Sat Mar 13 19:05:44 PST 2010
#24042: mpd runs as root
-----------------------------------+----------------------------------------
Reporter: greg-macports@… | Owner: milosh@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: mpd
-----------------------------------+----------------------------------------
Comment(by rmsfisher@…):
If you can devise a method to run mpd as its own user with the following
conditions, I would be glad to reduce its privileges:[[br]]
* The user name and/or UID should avoid conflicting with an existing user
name and or UID.
* Uninstalling or deactivating mpd should remove the user from the
system.
* The user should have read access to locations symlinked in
{{{/opt/local/var/lib/mpd/music}}}
* The user should have write access in
{{{/opt/local/var/lib/mpd/playlists}}} and {{{/opt/local/var/log/mpd}}}
* The launchctl plist should be run with no dependence on any other GUI
or CLI user being logged in
Do those criteria seem fair?[[br]]
If you can come up with a patch which meets those requirements I'd be
happy to test and implement it.
--
Ticket URL: <http://trac.macports.org/ticket/24042#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list