On Wed, Jan 7, 2015 at 9:45 PM, Oleg Samarin <osamari...@gmail.com> wrote:

> > > After adding the simple udev rule:
> > >
> > > ----------------------------------------------
> > > KERNEL=="seq", SUBSYSTEM=="sound", TAG+="shared"
> > > ----------------------------------------------
> > >
> > > /dev/snd/seq becomes accessible from all seats.
> > >
> > > Could you resolve this patch upstream or propose another way of
> granting
> > > access to /dev/snd/seq on activating sessions?
> >
> > Why not remove the "uaccess" TAG from the device and set your own
> > permissions? Like:
> >
> > TAG-="uaccess", MODE=whatever, GROUP=something
> >
> > This way, logind will never touch the device and your statically set
> > access-rules will be applied. If you now set the group to your
> > user-group, only your user will have access to the device, regardless
> > of the seat it's on.
>
> 1. "uaccess" tag is added by another udev rule, and I do not know, what
> will happen if there are two rules in contradiction
>

All rules are applied in order, that's why the filenames are numbered. If
70-foo adds a tag, 90-bar can remove it.

-- 
Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to