for review: permissions on the web page

Peter David ROSS petdr at cs.mu.OZ.AU
Mon Sep 7 18:52:10 AEST 1998


Hi,

Tyson can you cast your eye over this please.

Pete.


===================================================================


Estimated hours taken: 0.25

Make sure that when the web pages install, that the permissions and the
group all the web-site to be overwritten by anyone in the mercury group.

Makefile:
Makefile.common:
download/Makefile:
information/Makefile:
mailing-lists/mercury-developers/Makefile:
mailing-lists/mercury-users/Makefile:
    As above.

Index: Makefile
===================================================================
RCS file: /home/staff/zs/imp/w3/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	1998/09/04 07:08:32	1.4
+++ Makefile	1998/09/07 08:08:51
@@ -24,6 +24,8 @@
 
 local_install:
 	cp -a images $(INSTALL_WEBDIR)
+	chgrp -R mercury $(INSTALL_WEBDIR)/images
+	chmod -R g+w,a+r $(INSTALL_WEBDIR)/images
 
 
 #-----------------------------------------------------------------------------#
Index: Makefile.common
===================================================================
RCS file: /home/staff/zs/imp/w3/Makefile.common,v
retrieving revision 1.4
diff -u -r1.4 Makefile.common
--- Makefile.common	1998/09/04 07:08:34	1.4
+++ Makefile.common	1998/09/07 08:13:44
@@ -49,7 +49,8 @@
 		cd $$dir; $(MAKE) install);			\
 	done
 endif
-	chmod a+r $(INSTALL_WEBDIR)/*
+	chmod a+r,g+w $(INSTALL_WEBDIR)/*
+	chgrp mercury $(INSTALL_WEBDIR)/*
 
 .PHONY: clean
 clean:
Index: download/Makefile
===================================================================
RCS file: /home/staff/zs/imp/w3/download/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	1998/09/04 07:08:46	1.2
+++ Makefile	1998/09/07 08:13:02
@@ -27,4 +27,14 @@
 
 current-release-bugs.html: release-0.7-bugs.inc
 
+install: local_install
+
+local_install: all
+	for dir in patches;					\
+	do							\
+		cp -a $$dir $(INSTALL_WEBDIR);			\
+		chmod -R a+r,g+w $(INSTALL_WEBDIR)/$$dir;	\
+		chgrp -R mercury $(INSTALL_WEBDIR)/$$dir;	\
+	done
+
 include ../Makefile.common
Index: information/Makefile
===================================================================
RCS file: /home/staff/zs/imp/w3/information/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	1998/09/04 07:08:50	1.5
+++ Makefile	1998/09/07 08:12:12
@@ -29,10 +29,11 @@
 	(cd doc; gzip -f -9 *.ps)
 
 local_install: all
-	for dir in bench developers doc papers;		\
-	do						\
-		cp -a $$dir $(INSTALL_WEBDIR);		\
-		chmod -R a+r $(INSTALL_WEBDIR)/$$dir;	\
+	for dir in bench developers doc papers;			\
+	do							\
+		cp -a $$dir $(INSTALL_WEBDIR);			\
+		chmod -R a+r,g+w $(INSTALL_WEBDIR)/$$dir;	\
+		chgrp -R mercury $(INSTALL_WEBDIR)/$$dir;	\
 	done
 
 local_clean:
Index: mailing-lists/mercury-developers/Makefile
===================================================================
RCS file: /home/staff/zs/imp/w3/mailing-lists/mercury-developers/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	1998/09/04 07:09:02	1.4
+++ Makefile	1998/09/07 08:14:51
@@ -16,6 +16,7 @@
 			cp -a $$dir $(INSTALL_WEBDIR);		\
 		fi						\
 	done
-	chmod -R a+r $(INSTALL_WEBDIR)*
+	chmod -R a+r,g+w $(INSTALL_WEBDIR)/*
+	chgrp -R mercury $(INSTALL_WEBDIR)/*
 
 include ../../Makefile.common
Index: mailing-lists/mercury-users/Makefile
===================================================================
RCS file: /home/staff/zs/imp/w3/mailing-lists/mercury-users/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	1998/09/04 07:09:07	1.4
+++ Makefile	1998/09/07 08:15:10
@@ -14,7 +14,8 @@
 			cp -a $$dir $(INSTALL_WEBDIR);		\
 		fi						\
 	done
-	chmod -R a+r $(INSTALL_WEBDIR)/*
+	chmod -R a+r,g+w $(INSTALL_WEBDIR)/*
+	chgrp -R mercury $(INSTALL_WEBDIR)/*
 
 list.html: touch
 

----
 +----------------------------------------------------------------------+
 | Peter Ross      M Sci/Eng Melbourne Uni                              |
 | petdr at cs.mu.oz.au  WWW: www.cs.mu.oz.au/~petdr/ ph: +61 3 9344 9158  |
 +----------------------------------------------------------------------+



More information about the developers mailing list