[freeside-commits] freeside Makefile,1.196.2.5,1.196.2.6
Mark Wells
mark at wavetail.420.am
Sun Jun 5 21:55:22 PDT 2011
Update of /home/cvs/cvsroot/freeside
In directory wavetail.420.am:/tmp/cvs-serv4409
Modified Files:
Tag: FREESIDE_2_1_BRANCH
Makefile
Log Message:
allow freeside user to read RT config, from #11274
Index: Makefile
===================================================================
RCS file: /home/cvs/cvsroot/freeside/Makefile,v
retrieving revision 1.196.2.5
retrieving revision 1.196.2.6
diff -u -w -d -r1.196.2.5 -r1.196.2.6
--- Makefile 2 Jun 2011 20:17:09 -0000 1.196.2.5
+++ Makefile 6 Jun 2011 04:55:20 -0000 1.196.2.6
@@ -376,7 +376,8 @@
" ${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
More information about the freeside-commits
mailing list