From: Alexandre Duret-Lutz Date: Sat, 14 Oct 2006 13:37:32 +0000 (+0000) Subject: * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m, X-Git-Tag: Release-1-10~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bec165334c9c0734d2d66559246c7cbfb182926;p=thirdparty%2Fautomake.git * 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 . Also, don't bother to check for -m bugs unless we're using -m; suggested by Stepan Kasal. --- diff --git a/ChangeLog b/ChangeLog index 94f55e053..ee2eeace4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2006-10-14 Paul Eggert + + * 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 + . + Also, don't bother to check for -m bugs unless we're using -m; + suggested by Stepan Kasal. + 2006-10-14 Geoffrey Keating (tiny change) * m4/multi.m4: Non-default multilibs may be cross compilation. diff --git a/THANKS b/THANKS index 68018e351..19ad314e4 100644 --- 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 diff --git a/lib/install-sh b/lib/install-sh index 60a23fb69..4fbbae7b7 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -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