Hi,

I have used /etc/init.d/rclevel.d/S12ups script renaming it with S22ups and
adding at the top:

chown root:nobody /proc/bus/usb/002/002
chmod 660 /proc/bus/usb/002/002

It's a patch but works.

Best regards.
Hello,

2006/2/3, Peter Selinger <[EMAIL PROTECTED]>:
This is a permissions problem; note the "nobody" in:

> /proc/bus/usb/002:
> dr-xr-xr-x  2 root root  0 Feb  3 12:40 .
> drwxr-xr-x  6 root root  0 Feb  3 12:40 ..
> -rw-r--r--  1 root root 43 Feb  3 12:40 001
> -rw-r--r--  1 root nobody 52 Feb  3 12:40 002

This should be the ups user.


eheh, in fact no. SuSE use the "nobody" user, not the "ups, nut or whatever ups/nut related name".
This point is one of those addressed by the NUT Packaging Standard...

the problem here seems more to be that the group (nobody) lacks the write flag (should be -rw-rw-r--  1 root nobody). What is strange is that the
/etc/hotplug/usb/libhidups already do the a chown root:nobody and chmod  660 ...
Do you have changed something in this file?

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to