On Wed, Dec 4, 2013 at 1:59 PM, Charles Lepple <[email protected]> wrote:
> [please keep the list CC'd for future reference.]
>
> On Dec 4, 2013, at 1:10 AM, Danijel Šili wrote:
>
>> Even if there is, I just checked and all of the rules have MODE=664.
>
> I had concerns that the MODE parameter might need an explicit leading "0" for 
> octal, but at least in the latest code, it is being parsed with strtol(..., 
> 8).
>
>> Also, I don't know how to check which rules could match it.
>
> Maybe 'grep -r 5161 /etc/udev/rules.d /lib/udev/rules.d'? That might produce 
> a few false positives.

/lib/udev/rules.d/52-nut-usbups.rules:ATTR{idVendor}=="0665",
ATTR{idProduct}=="5161", MODE="664", GROUP="nut"
/lib/udev/rules.d/52-nut-usbups.rules:SUBSYSTEM=="usb",
ATTRS{idVendor}=="0665", ATTRS{idProduct}=="5161", GROUP="nut"
/lib/udev/rules.d/40-libgphoto2-6.rules:ATTRS{idVendor}=="0fce",
ATTRS{idProduct}=="5161", ENV{ID_GPHOTO2}="1",
ENV{GPHOTO2_DRIVER}="proprietary", ENV{ID_MEDIA_PLAYER}="1",
MODE="0664", GROUP="plugdev"

First the old line, then the new line we added and then some other file...

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to