From: mark Date: Mon, 6 Jun 2011 04:55:42 +0000 (+0000) Subject: allow freeside user to read RT config, from #11274 X-Git-Tag: freeside_2_3_0~172 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=e507c01547e88861603826344c0982f5a6afdcd0 allow freeside user to read RT config, from #11274 --- diff --git a/Makefile b/Makefile index d5641b2e1..804e292f3 100644 --- a/Makefile +++ b/Makefile @@ -377,7 +377,8 @@ install-rt: " ${RT_PATH}/etc/RT_SiteConfig.pm; fi install-rt-initialdata: - if [ ${RT_ENABLED} -eq 1 ]; then \ + if [ ${RT_ENABLED} -eq 1 ] && [ -d ${RT_PATH} ]; then \ + chown -R freeside:freeside ${RT_PATH}/etc; \ install -D -o freeside -g freeside -m 0440 rt/etc/initialdata \ ${RT_PATH}/etc/initialdata; fi