* ltmain.in: Don't use the mkdir -p option when creating a
temporary output directory so a symlink attack can't be used to
arbitrarily chmod other directories on the system if libtool
gets run as root.
+2004-01-23 Stefan Nordhausen <nordhaus@informatik.hu-berlin.de>
+ Scott James Remnant <scott@netsplit.com>
+
+ * ltmain.in: Don't use the mkdir -p option when creating a
+ temporary output directory so a symlink attack can't be used to
+ arbitrarily chmod other directories on the system if libtool
+ gets run as root.
+
2004-01-23 Scott James Remnant <scott@netsplit.com>
* ltmain.in: new -precious-files-regex link mode option
tmpdir="/tmp"
test -n "$TMPDIR" && tmpdir="$TMPDIR"
tmpdir="$tmpdir/libtool-$$"
- if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
+ if $mkdir "$tmpdir" && chmod 700 "$tmpdir"; then :
else
$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
continue