Red Hat Bugzilla – Bug 141123
the file permissions and ownerships of /etc/ups/* are confusing
Last modified: 2007-11-30 17:10:55 EST
Description of problem:
the file permissions and ownerships are confusing:
[pt@server1 ups]$ ls -l /etc/ups
-rw-r--r-- 1 root root 3724 Nov 22 17:26 ups.conf
-rw-r--r-- 1 root root 1364 Oct 5 17:11 upsd.conf
-rw-r----- 1 root nut 2277 Nov 22 17:26 upsd.users
-r-------- 1 nut nut 11170 Nov 22 17:27 upsmon.conf
-r-------- 1 nut nut 3884 Oct 5 17:11 upssched.conf
Why should the owner of upsmon.conf and upssched.conf not be able to
write to them? He can anyway. Why is upsd.users owned by root and in
group nut? Why is ups.conf and upsd.conf owned by root and upsmon.conf
+ upssched.conf by nut?
If the user rights and ownerships are intentionally like they are,
sorry for this bug report.
Version-Release number of selected component (if applicable):
I have cleaned up the file permissons. Alle the config files should have
root as owner, nut as group and permission 640.
The new nut-2.0.2-1 includes now the fix and will be available in rawhide soon
Many thanks for your report.