summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent5f52441fd5bb6dc204c5e26833b86299a928a49d (diff)
allow freeside user to read RT config, from #11274
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d5641b2..804e292 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