[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site Makefile



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic 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

--- conga/luci/site/Makefile	2006/08/04 22:14:32	1.7
+++ conga/luci/site/Makefile	2006/08/18 07:21:02	1.8
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]