Hey Charles,<br><br><div class="gmail_quote">2009/1/13 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Arnaud et al,<br>
<br>
I have been meaning to collect some of the documentation updates for<br>
permission-related errors, and I was wondering if you would mind if we<br>
moved the scripts/udev/README and scripts/hotplug/README files out of<br>
scripts/ and into the docs/ directory (probably docs/permissions.txt).<br>
We could also cover the *BSD /dev/usb* permission issues there, as<br>
well.<br>
<br>
Any thoughts on this?</blockquote><div><br>that would be nice, also including the following:<br><br>1) a note on the serial permissions, including the below things from README.Debian:<br>8<------------------------------------------------------------------------------------------------------------------<br>
serial port permissions<br> The nut user need to be able to access the serial port both for<br> reading and writing.<br><br> There are two possibilities:<br><br> a) You can add the nut user to the dialout group.<br>
The following command accomplishes this:<br> addgroup nut dialout<br><br> This is not done by default for security reason.<br><br> b) Another solution, for system supporting udev, is to create a file<br>
(for example /etc/udev/rules.d/52_nut-serialups.rules), placed<br> after 020_permissions.rules and to add something like:<br> KERNEL=="ttyS1", GROUP="nut"<br><br> where 'ttyS1' has to be replaced by the exact name of your serial port.<br>
<br></div></div>8<------------------------------------------------------------------------------------------------------------------<br>As a side note, the "dialout" group has to be replaced by uucp or whatever group that has the serial port ownership.<br>
<br>2) a note on Solaris USB permissions. Here is a base (warning: for MGE only):<br>8<------------------------------------------------------------------------------------------------------------------<br>c) Bind MGE units to Solaris USB /Ugen layer using:<br>
<br># add_drv -i '"usb463,ffff.1"' -m '* 0660 nut root' ugen<br># update_drv -a -m '* 0666 root sys' -i '"usb463,0001.1"' ugen<br># reboot -- -r<br>8<------------------------------------------------------------------------------------------------------------------<br clear="all">
<br>As a side note, we might consider generating a script for Solaris too...<br><br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>