ispman Makefile,1.67,1.68

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29150

Modified Files:
	Makefile 
Log Message:
Fixing permissions issue

Index: Makefile
===================================================================
RCS file: /cvsroot/ispman/ispman/Makefile,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- Makefile	1 Jan 2005 20:37:23 -0000	1.67
+++ Makefile	28 Mar 2005 13:31:33 -0000	1.68
@@ -34,7 +34,8 @@
 
 # prepare ispman files
 ispman: schema ldif
-
+	# give the exec permission to install-sh
+	chmod +x install-sh
 
 # install base files
 install-base: install-base-dirs install-schema install-ldif
@@ -114,6 +115,11 @@
 	$(INSTALL) -c -m 755 ispman-web/htdocs/control_panel/index.cgi \
 		$(DESTDIR)$(PREFIX)/htdocs/control_panel/index.cgi
 
+	# if we are doing web installation then the conf directory should be read+executable by the
+	# webserver
+	chmod 755 $(DESTDIR)/conf
+	chmod 644 $(DESTDIR)/conf/ispman.conf*
+	
 
 # create base directories
 install-base-dirs:



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.