Skip to contentSkip to conversation

conga/luci/site Makefile

Cluster-devel [email protected] 1 participant 1 message Aug 18, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-08-18 07:21:02

Modified files:
luci/site : Makefile

Log message:
luci: allow access to Data.fs (and derivatives) only to luci user

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/Makefile.diff?cvsroot=cluster&r1=1.7&r2=1.8

luci/site/Makefile +8 -1
@@ -67,7 +67,14 @@
 	install -m 644 `find luci/Products/ManagedSystem/skins -maxdepth 1 -type f` ${DESTDIR}/var/lib/luci/Products/ManagedSystem/skins
 
 	install -d ${DESTDIR}/var/lib/luci/var
-	install -m 600 luci/var/Data.fs ${DESTDIR}/var/lib/luci/var
+	install -m 600 luci/var/Data.fs ${DESTDIR}/var/lib/luci/var/Data.fs
+	install -m 600 luci/var/Data.fs ${DESTDIR}/var/lib/luci/var/Data.fs.old
+	touch     ${DESTDIR}/var/lib/luci/var/Data.fs.index
+	chmod 600 ${DESTDIR}/var/lib/luci/var/Data.fs.index
+	touch     ${DESTDIR}/var/lib/luci/var/Data.fs.tmp
+	chmod 600 ${DESTDIR}/var/lib/luci/var/Data.fs.tmp
+	touch     ${DESTDIR}/var/lib/luci/var/Data.fs.lock
+	chmod 644 ${DESTDIR}/var/lib/luci/var/Data.fs.lock
 	install -d ${DESTDIR}/var/lib/luci/var/pts
 #	install -m 644 `find luci/var/pts -maxdepth 1 -type f | grep .mo | grep -v \~ | grep -v \#` ${DESTDIR}/var/lib/luci/var/pts
 	install -d ${DESTDIR}/var/lib/luci/var/certs