[csw-devel] SF.net SVN: gar:[19433] csw/mgar/pkg/cswclassutils/trunk/files/ CSWcswclassutils.i.cswsslcert

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Fri Oct 12 22:25:12 CEST 2012


Revision: 19433
          http://gar.svn.sourceforge.net/gar/?rev=19433&view=rev
Author:   bdwalton
Date:     2012-10-12 20:25:12 +0000 (Fri, 12 Oct 2012)
Log Message:
-----------
cswclassutils/trunk: set a strict umask prior to generating key/cert/csr files

Modified Paths:
--------------
    csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswsslcert

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswsslcert
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswsslcert	2012-10-12 20:20:48 UTC (rev 19432)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswsslcert	2012-10-12 20:25:12 UTC (rev 19433)
@@ -81,6 +81,7 @@
   if [ -f $dest.key ]; then
       echo "Skipping key and cert/csr generation due to existing files."
   else
+      umask 077
       cat <<EOF | /usr/sbin/chroot ${PKG_INSTALL_ROOT} /opt/csw/bin/openssl $args >/dev/null 2>&1
 ${SSL_COUNTRY}
 ${SSL_STATE}

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