Displaying 2 results from an estimated 2 matches for "udev_node_mknod".
2013 Dec 16
0
Nut (git) upsdrvctl fails without "-u root start <upsname>", upsd fails on state file GID
...ions.rules:36
[1162876.466668] [17394] udev_event_execute_rules: no node name set, will use kernel supplied name 'bus/usb/002/004'
[1162876.472267] [17394] udev_node_add: creating device node '/dev/bus/usb/002/004', devnum=189:131, mode=01664, uid=0, gid=121
[1162876.472282] [17394] udev_node_mknod: preserve file '/dev/bus/usb/002/004', because it has correct dev_t
[1162876.472286] [17394] udev_node_mknod: set permissions /dev/bus/usb/002/004, 021664, uid=0, gid=121
If you want, we can take a look at the output of the aforementioned udevd command from your system. Please compress the...
2013 Dec 15
2
Nut (git) upsdrvctl fails without "-u root start <upsname>", upsd fails on state file GID
On 12/14/2013 09:04 PM, Charles Lepple wrote:
>> Is there someway nut can be modified to probe the 0664 permission usb
>> devices
>>> and then connect as root before dropping permissions back to the "nut"
>>> gid?
> Given that the udev method should still work (and seems to, for handcrafted
> udev rules files), I would like to run that to ground first.