On Fri, 6 May 2016 18:12:27 -0500 Martin Pitt <mp...@debian.org> wrote:
> Control: tag -1 moreinfo
> 
> Hello Josh,
> 
> Josh Triplett [2016-04-25 13:48 -0700]:
> > ~$ cat /etc/udev/rules.d/99-local-gnubby.rules
> > SUBSYSTEMS=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0200", 
> > TAG+="uaccess"
> >
> > If I boot with the device attached, this seems to take effect:
> >
> > However, if I unplug and replug the device, this rule no longer seems to 
> > take
> > effect:
> 
> The uaccess tag is evaluated in /lib/udev/rules.d/73-seat-late.rules,
> thus 99-* is too late. Can you please move it to e. g.
> 70-gnubby.rules? I'm fairly sure it will work then, but I'll keep the
> bug open until you confirm, just in case.
> 

The dump from Josh shows, that the uaccess udev property is properly
set. So I don't think it's an udev rules ordering issue.

I think the problem rather is, that you are already logged in and the
ACLs are only applied on login or when the session becomes active.

I assume if you log out and re-login after the hotplug, the ACL is
properly applied?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to