From e507c01547e88861603826344c0982f5a6afdcd0 Mon Sep 17 00:00:00 2001 From: mark Date: Mon, 6 Jun 2011 04:55:42 +0000 Subject: [PATCH] allow freeside user to read RT config, from #11274 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.11.0