[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkdir -p -- minor cleanup

From: Ralf Wildenhues
Subject: Re: mkdir -p -- minor cleanup
Date: Sat, 22 Apr 2006 20:44:06 +0200
User-agent: Mutt/1.5.11+cvs20060403

* Stepan Kasal wrote on Wed, Apr 19, 2006 at 01:08:57PM CEST:
> And $(mkdir_p) cannot be used with an option anyway.

It was already noted that `-m MODE' is understood by mkdir, by
install_sh, and by mkinstalldirs (the latter would not be used
any more, I'm just noting it here).

However, we can't be sure that there is no race here, since
the mode may be set strictly later than directory creation by
some of those scripts.   For an Autoconf macro, and maybe even
for Automake, it may be worthwhile to fix this:
  su -c 'make install DESTDIR=/tmp/dest'
should not require me to think about setting a proper umask first.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]