On Aug 27, 2011, at 12:59 PM, Kostas Oikonomou wrote:

Along the same lines, the manual, sec. 6, says

-----------------------------
Create the state path directory for the driver(s) and server to use for storing UPS status data and other auxiliary files, and make it owned by the user you created.

mkdir -p /var/state/ups
chmod 0770 /var/state/ups
chown root:nut /var/state/ups
-----------------------------

Shouldn't "root" be "ups" here?

Not necessarily. If the group is "nut", then the 2nd "7" in the mode (g +rwx) should allow NUT to write the appropriate files.

Glad you found the right permissions to set (per later email).

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to