[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] chmod: rpm vs. make install
From:       Alan Robertson <alanr () unix ! sh>
Date:       2005-12-16 17:38:52
Message-ID: 43A2FBAC.2060606 () unix ! sh
[Download RAW message or body]

Andrew Beekhof wrote:
> On 11/14/05, David Lee <t.d.lee@durham.ac.uk> 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)
> _______________________________________________

I'm OK with applying it.


-- 
     Alan Robertson <alanr@unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic