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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Dec 5 14:24:20 CET 2010


Revision: 11788
          http://gar.svn.sourceforge.net/gar/?rev=11788&view=rev
Author:   bdwalton
Date:     2010-12-05 13:24:19 +0000 (Sun, 05 Dec 2010)

Log Message:
-----------
apache2: force owner/group on ssl key files

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

Modified: csw/mgar/pkg/apache2/trunk/files/ssl_cas_template
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/ssl_cas_template	2010-12-05 09:04:17 UTC (rev 11787)
+++ csw/mgar/pkg/apache2/trunk/files/ssl_cas_template	2010-12-05 13:24:19 UTC (rev 11788)
@@ -18,6 +18,7 @@
       echo "Importing old SSL files from /opt/csw/apache2/etc." >&2
       cp -p $OLD_CERT_FILE $NEW_CERT_FILE
       cp -p $OLD_KEY_FILE $NEW_KEY_FILE
+      chown root:bin $NEW_CERT_FILE $NEW_KEY_FILE
    else
       echo Generating dummy ssl key and certificate... >&2
       # this is likely overkill for a dummy cert, but why not
@@ -32,9 +33,8 @@
 
 
 EOF
-     chown root:bin $NEW_CERT_FILE $NEW_KEY_FILE
+      chown root:bin $NEW_CERT_FILE $NEW_KEY_FILE
    fi
-
    cat <<EOF
 This is a placeholder file used only to ease migration of server.crt
 and server.key to the new etc/ location for $PKGINST.  Please leave the


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