[csw-devel] SF.net SVN: gar:[11615] csw/mgar/pkg/apache2/trunk/files/build_cas_template

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Nov 15 02:56:22 CET 2010


Revision: 11615
          http://gar.svn.sourceforge.net/gar/?rev=11615&view=rev
Author:   bdwalton
Date:     2010-11-15 01:56:22 +0000 (Mon, 15 Nov 2010)

Log Message:
-----------
apache2: set explicit ownership/perms on conf files after substitutions in build CAS script

Modified Paths:
--------------
    csw/mgar/pkg/apache2/trunk/files/build_cas_template

Modified: csw/mgar/pkg/apache2/trunk/files/build_cas_template
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/build_cas_template	2010-11-15 01:42:27 UTC (rev 11614)
+++ csw/mgar/pkg/apache2/trunk/files/build_cas_template	2010-11-15 01:56:22 UTC (rev 11615)
@@ -20,6 +20,9 @@
 	-e 's/^(LoadModule.*suexec.*)/#\$1/;' \
 	-e 's/^#(Include.*httpd-mpm.conf)/\$1/;' \
 	-e 's/^#(Include.*httpd-ssl.conf)/\$1/;' \$CONF_FILE
+
+      chown root:bin \$CONF_FILE
+      chmod 644 \$CONF_FILE
    fi
 else
    # preserve ourselves with no changes


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list