summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormark <mark>2011-06-06 04:55:42 +0000
committermark <mark>2011-06-06 04:55:42 +0000
commite507c01547e88861603826344c0982f5a6afdcd0 (patch)
tree27efc103761495fbf23f3e6aa2fd40b1dcd10909
parent5f52441fd5bb6dc204c5e26833b86299a928a49d (diff)
allow freeside user to read RT config, from #11274
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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