[Linux-HA] Permissions for CVS 1.2.4..

Horms horms at verge.net.au
Thu Aug 11 19:27:14 MDT 2005


On Thu, Aug 11, 2005 at 07:36:12AM -0600, Alan Robertson wrote:
> Charles Riley wrote:
> >
> >>>
> >>>For now I'm assuming that they should be gid root, and will provide 
> >>>another patch for heartbeat.spec.in once I have confirmation.
> >>
> >>1.2.4 has not been released! Where did you get this package from?
> >>
> >>This is what the spec file in CVS says.
> >>
> >>dir /var/lib/heartbeat/cores
> >>%dir %attr (0700, root -) /var/lib/heartbeat/cores/root
> >>%dir %attr (0700, nobody -) /var/lib/heartbeat/cores/nobody 
> >>%dir %attr (0700, hacluster -) /var/lib/heartbeat/cores/hacluster
> >>
> >>I guess the - for group means use the default, presumably 
> >>which is root.
> >>
> >
> >
> >Hi,
> >
> >I'm sorry, I should have specified that the rpm was built using latest
> >CVS using ./ConfigureMe rpm
> >
> >I think you are correct regarding the gropu permission, except that
> >"default" is the group of the user that you are running rpmbuild as.  It
> >might be a good idea to force the group to root.  I'm happy to provide
> >the patch if you agree.
> 
> There is an earlier statement in the configure.in which says otherwise...
> 
> 	%defattr(-,root,root)
> 
> Unless I'm mistaken, this means the default attributes are none for 
> mode, and root:root for user and group respectively.

That is my understanding.

-- 
Horms



More information about the Linux-HA mailing list