Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763552 - media-sound/mpd-0.21.26: playlist creation is unavailable for non-privilleged user
Summary: media-sound/mpd-0.21.26: playlist creation is unavailable for non-privilleged...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-04 16:56 UTC by Sergey S. Starikoff
Modified: 2021-05-27 20:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2021-01-04 16:56:11 UTC
I use mpd (for now [I] media-sound/mpd (0.21.26@28.11.2020): The Music Player Daemon (mpd)) player with system-wide storage for playlists.
Some time ago I've updated my music collection and find, that default installation of mpd is non full-featured for unprivilleged user usage.

My user:
# id tux
uid=1001(tux) gid=1001(tux) groups=1001(tux),18(audio),85(usb),998(vboxusers),995(vboxsf),994(scanner),35(games)

Adding write permission for group:
# chmod -R g+w /var/lib/mpd/playlists

# ls -l /var/lib/mpd/ | grep list
drwxrwxr-x 2 mpd  audio  4096 Jan  4 16:33 playlists

Please add setting this permission in ebuild.
Probably with the same for /var/lib/mpd/music directory.

Also it is strange to see logs in /var/lib/mpd/ instead of /var/log/…
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-05-27 20:44:06 UTC
Should be fine now
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-05-27 20:45:03 UTC
(In reply to Mikle Kolyada from comment #1)
> Should be fine now

i.e. /var/lib/mpd missed proper ownership