[Cluster-devel] conga/ricci/modules/cluster ClusterConf.cpp
rmccabe at sourceware.org
rmccabe at sourceware.org
Tue Oct 23 14:52:32 UTC 2007
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL4
Changes by: rmccabe at sourceware.org 2007-10-23 14:52:32
Modified files:
ricci/modules/cluster: ClusterConf.cpp
Log message:
explicitly chmod temp cluster.conf files to 0640
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterConf.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.9&r2=1.9.2.1
--- conga/ricci/modules/cluster/ClusterConf.cpp 2006/12/10 18:58:46 1.9
+++ conga/ricci/modules/cluster/ClusterConf.cpp 2007/10/23 14:52:32 1.9.2.1
@@ -82,8 +82,8 @@
// save tmp cluster.conf
String tmp_path(CLUSTER_CONF_PATH + ".tmp_ricci");
- fstream fs(tmp_path.c_str(),
- ios_base::out | ios_base::trunc);
+ fstream fs(tmp_path.c_str(), ios_base::out | ios_base::trunc);
+ chmod(tmp_path.c_str(), 0640);
fs << generateXML(xml);
fs.close();
More information about the Cluster-devel
mailing list