bug-libtool
[Top][All Lists]
Advanced

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

Re: Security patch for gettext-0.11.5/ltmain.sh


From: Bruno Haible
Subject: Re: Security patch for gettext-0.11.5/ltmain.sh
Date: Thu, 19 Sep 2002 13:39:15 +0200 (CEST)

Paul Eggert writes:

> Here's an idea for improving things.  If "make install" detects that
> it lacks write access to a local .libs directory owned by user U, it
> does something like this:
> 
>   echo 'I lack write access to directory foo/bar/.libs, which is owned by U.'
>   echo 'Please enter U's password to complete the installation:'
>   su U -c 'command that needs write access to foo/bar/.libs'
> 
> That way, there is never an instant when a directory is world-writeable.

Nice idea, but this way "make install" becomes an interactive command,
and will break for people who build distros.

IMO libtool should, when relinking, create the final libraries and
executables in a .libs directory in the installation directory, not in
the build directory. This way the permission problem would go away
entirely.

Bruno




reply via email to

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