Bacula-users

Re: [Bacula-users] chmod 770 (was Re: Bacula Release 7.4.0)

2016-02-08 10:29:06
Subject: Re: [Bacula-users] chmod 770 (was Re: Bacula Release 7.4.0)
From: Dan Langille <dan AT langille DOT org>
To: Randy Katz <rkatz AT simplicityhosting DOT com>
Date: Mon, 8 Feb 2016 10:23:24 -0500
> On Feb 8, 2016, at 8:03 AM, Randy Katz <rkatz AT simplicityhosting DOT com> 
> wrote:
> 
> 
> On 2/6/2016 4:57 PM, Dan Langille wrote:
>> This should be in a new thread, but failing that, I have changed the subject.
>> 
>>> On Feb 4, 2016, at 7:41 PM, Cejka Rudolf <cejkar AT fit.vutbr DOT cz> wrote:
>>> 
>>> Kern Sibbald wrote (2016/01/18):
>>>> Yesterday, we released Bacula version 7.4.0.
>>> Hello, thank you very much ;o)
>>> 
>>> So I have decided that I should finally upgrade my 5.2.12-based backup
>>> site to something newer. So I have upgraded server, then 20+ client
>>> nodes...
>>> 
>>> And then I have found, that some services started to fail.
>>> 
>>> And disaster began...
>>> Please, why there is
>>> 
>>> installdirs:
>>>      ...
>>>      chmod 770 $(DESTDIR)$(sysconfdir)
>>>      ...
>>> 
>>> in Makefile.in? I had sysconfdir set to /usr/local/etc in FreeBSD
>> Are you using the FreeBSD port?  It defaults to /usr/local/etc/bacula
>> 
>>> and /etc in Linux, so everywhere I have put new bacula,
>>> I accidentally cut off access to these system directories to
>>> non-root services and programs. (Bug report 2205.)


> This doesn't make sense. So I checked mine:
> 
> grep 'chmod 770' *
> Makefile:       chmod 770 $(DESTDIR)$(sysconfdir)
> Makefile:          chmod 770 $(DESTDIR)$(working_dir); \
> Makefile.in:    chmod 770 $(DESTDIR)$(sysconfdir)
> Makefile.in:       chmod 770 $(DESTDIR)$(working_dir); \
> 
> grep sysconfdir config.log
> sysconfdir='/etc/bacula'
> grep working_dir config.log
> working_dir='/opt/bacula/working'
> 
> Are you sure you didn't pass "special" config parameters to ./configure?
> The above
> from my setup are unaltered from the source tarball.
> 
> 

I suspect this has been answered since the two recent emails were within a few 
minutes of each other.

Rudolf  has set sysconfdir to /usr/local/etc which is not exclusive to Bacula.  
When the directory is not 
exclusive to Bacula, other systems are affected by the 770



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users