[systemd-devel] Automatic user ACL management

Mikhail Morfikov mmorfikov at gmail.com
Mon May 18 09:37:48 PDT 2015


On Mon, 18 May 2015 18:18:57 +0200
Lennart Poettering <lennart at poettering.net> wrote:

> On Mon, 18.05.15 18:16, Mikhail Morfikov (mmorfikov at gmail.com) wrote:
> 
> > Something is wrong. I did the following steps:
> > 
> > $ newgrp audio
> > 
> > In the log I have the following message:
> > 
> > May 18 18:02:19 morfikownia newgrp[80543]: user 'morfik' (login
> > 'morfik' on pts/7) switched to group 'audio'
> > 
> > Then I started amarok (in the same terminal):
> > 
> > $ amarok
> > $ ps -eo user,group,args | grep amarok
> > morfik   audio    amarok
> > 
> > So it says the process has the audio group, but the sound disappears
> > when I switch to TTY, so nothing has changed. Should this happen,
> > or am I supposed to do something else in order to make it work?
> 
> you need to run PA with those privs, not your media player. it's pa
> that needs the access rights to the device nodes, not your media
> player.
> 
> Lennart
> 

And now it works as expected! :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150518/3d081a51/attachment.sig>


More information about the systemd-devel mailing list