On 11/14/05, David Lee <[EMAIL PROTECTED]> wrote:
> I suspect that the installed permissions of things such as the "ccm" and
> "crm" subdirectories under "@HA_VARRUNDIR@" etc. make be different betwwn
> an rpm-based install ("heartbeat.spec") and a "make install".
>
> Could someone who knows what these permissions ought to be check through
> "heartbeat.spec.in" (probably for the explicit "%attr" entries) and the
> corresponding "Makefile.am" to ensure this data is consistent.
>
> (This came to light as I was checking yet another copy of this data in the
> in Solaris "pkg/Makefile.am" equivalent.)
Not sure how frozen CVS is, but I will eventually apply this patch:
--- crm/Makefile.am 17 Aug 2005 10:44:57 +0200 1.10
+++ crm/Makefile.am 16 Dec 2005 14:43:07 +0100
@@ -29,8 +29,8 @@
$(mkinstalldirs) $(DESTDIR)/$(crmdir)
-chown $(HA_CCMUSER) $(DESTDIR)/$(crmdir)
-chgrp $(HA_APIGROUP) $(DESTDIR)/$(crmdir)
- -chmod g+w $(DESTDIR)/$(crmdir)
+ -chmod 750 $(DESTDIR)/$(crmdir)
-mkdir $(DESTDIR)/$(crm_sock_dir)
-chown $(HA_CCMUSER) $(DESTDIR)/$(crm_sock_dir)
-chgrp $(HA_APIGROUP) $(DESTDIR)/$(crm_sock_dir)
-# -chmod g+w $(DESTDIR)/$(crm_sock_dir)
+ -chmod 750 $(DESTDIR)/$(crm_sock_dir)
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/