]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
authorAlexandre Duret-Lutz <adl@gnu.org>
Sat, 14 Oct 2006 13:37:32 +0000 (13:37 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sat, 14 Oct 2006 13:37:32 +0000 (13:37 +0000)
which incorrectly sets the mode of an existing destination
directory.  In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system.  We hope this is rare in practice, but it's clearly worth
fixing.  Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.

ChangeLog
THANKS
lib/install-sh

index 94f55e0530b9307ae8f0d3265b2b5cd636b0671b..ee2eeace4870267857561ad26708ab1a704eb117 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
+       which incorrectly sets the mode of an existing destination
+       directory.  In some cases the unpatched install-sh could do the
+       equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
+       system.  We hope this is rare in practice, but it's clearly worth
+       fixing.  Problem reported by Alex Unleashed in
+       <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
+       Also, don't bother to check for -m bugs unless we're using -m;
+       suggested by Stepan Kasal.
+
 2006-10-14  Geoffrey Keating  <geoffk@apple.com> (tiny change)
 
        * m4/multi.m4: Non-default multilibs may be cross compilation.
diff --git a/THANKS b/THANKS
index 68018e351bbc048a91de88a126133ea4acfb1727..19ad314e45eecb7c936c25fec669ef3e68f25a6d 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -7,6 +7,7 @@ Adrian Bunk             bunk@fs.tum.de
 Akim Demaille          akim@freefriends.org
 Alan Modra             amodra@bigpond.net.au
 Alex Hornby            alex@anvil.co.uk
+Alex Unleashed         unledev@gmail.com
 Alexander Mai          st002279@hrzpub.tu-darmstadt.de
 Alexander V. Lukyanov  lav@yars.free.net
 Alexander Turbov       zaufi@sendmail.ru
index 60a23fb693089db309a68e42305f021091d5fbfe..4fbbae7b7ff932e5af542dbe9612f193a68ed4d1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2006-05-11.20
+scriptversion=2006-10-14.15
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the