<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 7, 2015 at 9:45 PM, Oleg Samarin <span dir="ltr"><<a href="mailto:osamarin68@gmail.com" target="_blank">osamarin68@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> > After adding the simple udev rule:<br>
> ><br>
> > ----------------------------------------------<br>
> > KERNEL=="seq", SUBSYSTEM=="sound", TAG+="shared"<br>
> > ----------------------------------------------<br>
> ><br>
> > /dev/snd/seq becomes accessible from all seats.<br>
> ><br>
> > Could you resolve this patch upstream or propose another way of granting<br>
> > access to /dev/snd/seq on activating sessions?<br>
><br>
> Why not remove the "uaccess" TAG from the device and set your own<br>
> permissions? Like:<br>
><br>
> TAG-="uaccess", MODE=whatever, GROUP=something<br>
><br>
> This way, logind will never touch the device and your statically set<br>
> access-rules will be applied. If you now set the group to your<br>
> user-group, only your user will have access to the device, regardless<br>
> of the seat it's on.<br>
<br>
</span>1. "uaccess" tag is added by another udev rule, and I do not know, what<br>
will happen if there are two rules in contradiction<br></blockquote><div><br></div><div>All rules are applied in order, that's why the filenames are numbered. If 70-foo adds a tag, 90-bar can remove it.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>