diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 7b023138ac2..810b005b748 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-03-31 Joseph Myers + + * gcc_release (build_tarfiles): Make directories mode 755, not + 777. + 2009-10-10 Gerald Pfeifer * update_web_docs_svn: Update BUGURL to http://gcc.gnu.org/bugs/. diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index ddcd22f7ca0..6ff6b2a301b 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -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 @@ 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}`