
beekhof at gmail
Mar 7, 2007, 12:47 AM
Post #2 of 2
(285 views)
Permalink
|
|
Re: [patch] cib.xml should be owned and r/w by group haclient
[In reply to]
|
|
this has already been fixed upstream On 3/7/07, Aníbal Monsalve Salazar <anibal[at]sgi.com> wrote: > Mar 1 15:42:23 adg cib: [6010]: WARN: crm_is_writable: /var/lib/heartbeat/crm/cib.xml should be owned and r/w by group haclient > > The above message appears in /var/log/heartbeat.log on adg. The file in question > is mode 0600 (see ls output below), according to the warning it should be 0660. > > ls -l /var/lib/heartbeat/crm/cib.xml > -rw------- 1 hacluster haclient 586 Mar 6 18:41 /var/lib/heartbeat/crm/cib.xml > > Please consider merging the following patch. > > --- lib/crm/common/xml.c~ 2007-01-12 13:57:08.000000000 +1100 > +++ lib/crm/common/xml.c 2007-03-07 12:58:19.560452799 +1100 > @@ -608,7 +608,7 @@ > char *now_str = NULL; > gboolean is_done = FALSE; > FILE *file_output_strm = NULL; > - static mode_t cib_mode = S_IRUSR|S_IWUSR; > + static mode_t cib_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP; > > CRM_CHECK(filename != NULL, return -1); > > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
|