]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc_release (build_tarfiles): Make directories mode 755, not 777.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 31 Mar 2010 16:27:24 +0000 (17:27 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 31 Mar 2010 16:27:24 +0000 (17:27 +0100)
* gcc_release (build_tarfiles): Make directories mode 755, not
777.

From-SVN: r157876

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index cea27524127df9fefd45d3e677c0b6015a31dc02..f409d1786b5bf96464b7e727c1566088842ffe28 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-31  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc_release (build_tarfiles): Make directories mode 755, not
+       777.
+
 2009-08-04  Release Manager
 
        * GCC 4.3.4 released.
index bacb25b0ceb2a008f7addeedc9ce7808b6785acc..fa6b797afb62baae677946047014dbd739662e24 100755 (executable)
@@ -9,7 +9,7 @@
 # Contents:
 #   Script to create a GCC release.
 #
-# Copyright (c) 2001, 2002, 2006 Free Software Foundation.
+# Copyright (c) 2001, 2002, 2006, 2010 Free Software Foundation.
 #
 # This file is part of GCC.
 #
@@ -288,8 +288,8 @@ build_tarfiles() {
   # 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}`