[asterisk-commits] twilson: trunk r292826 - in /trunk: ./ contrib/scripts/ast_tls_cert

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 22 17:40:59 CDT 2010


Author: twilson
Date: Fri Oct 22 17:40:55 2010
New Revision: 292826

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=292826
Log:
Merged revisions 292825 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r292825 | twilson | 2010-10-22 15:35:29 -0700 (Fri, 22 Oct 2010) | 4 lines
  
  Don't create directories without at least o+x
  
  Also, making files that you are going to modify read-only is dumb.
........

Modified:
    trunk/   (props changed)
    trunk/contrib/scripts/ast_tls_cert

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/contrib/scripts/ast_tls_cert
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/scripts/ast_tls_cert?view=diff&rev=292826&r1=292825&r2=292826
==============================================================================
--- trunk/contrib/scripts/ast_tls_cert (original)
+++ trunk/contrib/scripts/ast_tls_cert Fri Oct 22 17:40:55 2010
@@ -105,8 +105,6 @@
 CERT_MODE=server
 ORG_NAME=${DEFAULT_ORG}
 
-umask 377
-
 while getopts "hf:c:k:o:d:m:C:O:" OPTION
 do
 	case ${OPTION} in
@@ -152,6 +150,8 @@
 	mkdir -p "${OUTPUT_DIR}"
 fi
 
+umask 177
+
 case "${CERT_MODE}" in
 	server)
 		COMMON_NAME=${COMMON_NAME:-"${DEFAULT_SERVER_CN}"}




More information about the asterisk-commits mailing list