Red Hat Bugzilla – Bug 122867
upsd.users must be readable by user "nut"
Last modified: 2007-11-30 17:10:42 EST
From Bugzilla Helper:
User-Agent: Opera/7.23 (X11; Linux i686; U) [en]
Description of problem:
I'm using a rebuilt nut-2.0.0-1.src.rpm from FC2 Test3 on Fedora Core
1 (I maintain a driver outside of nut's tree and I'm porting it to 2.
0.0) and I noticed a problem with the files in /etc/ups.
The problem is in the upsd.users file. Its permissions are:
-rw------- 1 root root 2371 May 9 17:05 upsd.users
when they should be:
-rw-r----- 1 root nut 2371 May 9 17:05 upsd.users
The user "nut" has to be able to read this file or else instant
commands (like battery test, timed shutdowns, etc.) don't work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. upscmd ups@localhost test.battery.start
Actual Results: Instant command failed: Access denied
Expected Results: No output from upscmd, followed by a message that
the ups is on battery.
it's fixed in 2.0.0-2. Many thanks for your report
2.0.0-2 isn't included in FC2. Maybe this is worth putting in updates?