Michael Friedrich wrote:
> Can I see the permissions being set on the parent directory? Maybe you 
> have a faulty line in your spec file then.
>
>   
Michael,

Here are the permissions for /usr/local/monitor/icinga (where we install 
it):

drwxr-xr-x 8 nagios nagios 4096 Jul  8 15:48 icinga

And icinga/var:

drwxrwsr-x  6 nagios nagios 4096 Jul  8 15:48 var

In the spec file we're creating var like this:

%defattr(2775,%{nsusr},%{nsgrp})
%dir /usr/local/monitor/icinga/var

We were originally creating var with root as the owner so I tried 
changing it to the nagios user but that didn't change the behavior in 
any way.  When we launched ido2db even after ensuring var was defined as 
above the socket was still owned by root.  For now we've added a hack to 
the ido2db init script to change the ownership after it's created.

-Bruce


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to