projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c6b2ab
)
allow freeside user to read RT config, from #11274
author
mark
<mark>
Mon, 6 Jun 2011 04:55:20 +0000
(
04:55
+0000)
committer
mark
<mark>
Mon, 6 Jun 2011 04:55:20 +0000
(
04:55
+0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
2f096a9
..
ff36330
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-376,7
+376,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