On 17/01/14 23:47, Charles Lepple wrote:
> On Jan 17, 2014, at 6:31 PM, Ariel Wainer wrote:
>
>> On 17/01/14 01:13, Charles Lepple wrote:
>>>
>>> The rule in my config was:
>>>
>>> ATTR{idVendor}=="0001", ATTR{idProduct}=="0000", MODE="664", GROUP="nobody"
>>>
>>> I have to add OWNER=nobody or change the mode to make it work, upsd is
>>> running under the user nobody, but I see all the rules looks the same,
>>> probably I'm doing something wrong.
> Is that the working rule, or if not, which mode works? Also, what are the
> final permissions?
>
> The non-Debian udev problem seems to be that the entire rule was getting
> skipped, but it sounds like this might be a more subtle permissions mismatch.
>
The rule that works for me is:
ATTR{idVendor}=="0001", ATTR{idProduct}=="0000", MODE="664", GROUP="nobody",
OWNER="nobody"
And the permissions end up being like this:
# ls -l /dev/bus/usb/004/004
crw-rw-r-- 1 nobody root 189, 387 ene 18 00:30 /dev/bus/usb/004/004
I'm running (k)ubuntu 13.10, so it's debian based.
Don't really know why the group is root instead of nobody, but it works this
way.
Thanks for everything!
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser