[Nut-upsuser] Problems suse 9.3, ellipse premium 500

rimabel at upvnet.upv.es rimabel at upvnet.upv.es
Thu Feb 9 15:12:47 UTC 2006


Hi,

I have made a clean installation and I have seen that the
problem is in /proc/bus/usb/xxx (see your output lsusb command):

kaizen:/proc/bus/usb/002 # ls -al
total 0
dr-xr-xr-x  2 root root    0 Feb  9 12:21 .
drwxr-xr-x  6 root root    0 Feb  9 12:21 ..
-rw-r--r--  1 root root   43 Feb  9 12:21 001
-rw-rw----  1 root nobody 52 Feb  9 15:50 002

002 must have (or your usb port) 660 root:nobody
permissions to function.

But when you reboot suse 9.3 the permissions
change and you have:

-rw-r--r--  1 root root 52 Feb  9 15:54 002

I have changed and it function. I'll try to
do in a script.

Best regards.

> Hello,
>
> 2006/2/3, Peter Selinger <selinger at mathstat.dal.ca>:
> >
> > 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/
>






More information about the Nut-upsuser mailing list