[bug-notifications] [cswclassutils 0003685]: cswpreserveconf

Mantis Bug Tracker noreply at opencsw.org
Mon Jul 6 14:46:56 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3685 
====================================================================== 
Reported By:                ja
Assigned To:                bonivart
====================================================================== 
Project:                    cswclassutils
Issue ID:                   3685
Category:                   packaging
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-05-23 11:39 CEST
Last Modified:              2009-07-06 14:46 CEST
====================================================================== 
Summary:                    cswpreserveconf
Description: 
Config files handled with the class cswpreserveconf have always the
ownerships root:other and not the desired ownership, which is specified for
the .CSW file.

Example:

In CSWnagios.prototype

f cswpreserveconf /opt/csw/nagios/etc/cgi.cfg.CSW 0664 nagios nagios

results in

-rw-r--r--   1 root     other      10695 May 22 22:19 cgi.cfg
-rw-rw-r--   1 nagios   nagios     10695 Mar 20 22:26 cgi.cfg.CSW

and not as expected in 

-rw-r--r--   1 nagios   nagios      10695 May 22 22:19 cgi.cfg
====================================================================== 

---------------------------------------------------------------------- 
 (0006402) bonivart (manager) - 2009-07-06 14:46
 http://www.opencsw.org/mantis/view.php?id=3685#c6402 
---------------------------------------------------------------------- 
Ok, great, I have tested it as well and it seems to work so I will release
it.

By the way, couldn't you have used the usergroup class to add users and
groups?

http://wiki.opencsw.org/cswclassutils-package#toc5




More information about the bug-notifications mailing list