Update gcc_release directory permissions

Joseph S. Myers joseph@codesourcery.com
Wed Mar 31 17:09:00 GMT 2010


The GNU Coding Standards now specify mode 755 for directories in release 
tarballs instead of 777.  I've applied this gcc_release patch to implement 
this to trunk, 4.4 branch and 4.3 branch, and updated gccadmin's checkout.

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 157863)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2010-03-31  Joseph Myers  <joseph@codesourcery.com>
+
+	* gcc_release (build_tarfiles): Make directories mode 755, not
+	777.
+
 2009-10-10  Gerald Pfeifer  <gerald@pfeifer.com>
 
 	* update_web_docs_svn: Update BUGURL to http://gcc.gnu.org/bugs/.
Index: gcc_release
===================================================================
--- gcc_release	(revision 157863)
+++ gcc_release	(working copy)
@@ -9,7 +9,7 @@
 # Contents:
 #   Script to create a GCC release.
 #
-# Copyright (c) 2001, 2002, 2006, 2009 Free Software Foundation.
+# Copyright (c) 2001, 2002, 2006, 2009, 2010 Free Software Foundation.
 #
 # This file is part of GCC.
 #
@@ -276,8 +276,8 @@
   # The GNU Coding Standards specify that all files should
   # world readable.
   chmod -R a+r ${SOURCE_DIRECTORY}
-  # And that all directories have mode 777.
-  find ${SOURCE_DIRECTORY} -type d -exec chmod 777 {} \;
+  # And that all directories have mode 755.
+  find ${SOURCE_DIRECTORY} -type d -exec chmod 755 {} \;
  
   # Build one huge tarfile for the entire distribution.
   build_tarfile gcc-${RELEASE} `basename ${SOURCE_DIRECTORY}`

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list