[Nut-upsuser] NUT on Mac OSX 10.5

Charles Lepple clepple at gmail.com
Tue Aug 19 12:18:56 UTC 2008


On Tue, Aug 19, 2008 at 5:55 AM, Arjen de Korte <nut+users at de-korte.org> wrote:

> I suspect the cause of the connection problems, is a permissions problem.
> By default, the driver will drop privileges soon after startup. In order
> to be able to (re)connect to USB devices, this usually requires setting up
> hotplug (old) or udev (new) rules on Linux systems. If the driver works
> with '-u root' and doesn't work without, chances are that on OS-X neither
> of these two methods work. In that case, you can add '-u root' to the
> 'upsdrvctl' commandline or fix whatever it takes on OS-X to allow non-root
> users to attach themselves to USB devices. I can't help with the latter,
> since I'm not (and have no intention to become) familiar with the OS-X
> platform.

I don't know if anything has changed in 10.5, but historically OS X
has not had a way to change permissions on USB devices (they do not
map to filesystem paths). The only issue might be related to claiming
devices, or permissions when running in the background.

Mihail: if you do get disconnection errors in the future, check
Console.app and see if NUT has logged anything there.

-- 
- Charles Lepple



More information about the Nut-upsuser mailing list