Dan Langille wrote (2016/02/06): > > Please, why there is > > > > installdirs: > > ... > > chmod 770 $(DESTDIR)$(sysconfdir) > > ... > > > > in Makefile.in? I had sysconfdir set to /usr/local/etc in FreeBSD > > 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.) > > Are you using the FreeBSD port? It defaults to /usr/local/etc/bacula
Hi, no, I have my own cross-platform and cross-administrator installation script, so I'm independent on server administrators, where bacula-client has to be installed. However, as I looked on FreeBSD port, which is heavily patched by the way, if anybody changes ETCDIR, he could be in trouble too. And there is one more problem - directory is owned to group bacula: # cd /usr/ports/sysutils/bacula-client # make ETCDIR=/usr/local/etc install ... # ls -ld /usr/local/etc drwxrwx--- 12 root bacula 1536 8 feb 13:48 /usr/local/etc/ I think that Bacula installation should either use $(sysconfdir)/bacula instead of just $(sysconfdir), so sysconfdir could be really "sys-conf-dir" like /etc or /usr/local/etc, and then chmod 770 $(DESTDIR)$(sysconfdir)/bacula could not change system directory permissions, or chmod should be deleted (but then I'm not sure about the source of group change - maybe it is the other thing, which should be solved). -- Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users