bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool-1.5.18 -- installed files owned by non-root user


From: Ralf Wildenhues
Subject: Re: libtool-1.5.18 -- installed files owned by non-root user
Date: Fri, 1 Jul 2005 15:40:44 +0200
User-agent: Mutt/1.4.1i

Hi Peter,

* Peter Breitenlohner wrote on Fri, Jul 01, 2005 at 10:59:03AM CEST:
> On Fri, 1 Jul 2005, Ralf Wildenhues wrote:
> >
> >Acknowledged.  Hrmpf.  I don't like the whole dancing around we have
> >in place in order to preserve timestamps on the libltdl files. ....
> 
> Incidentally, that kind of "dancing around" is in no way unique to libtool.

Care to elaborate?  Which other packages do this?

> An install-sh option "-p" (as for coreutils install) would certainly help.

ACK.

> >Suggestions welcome,
> 
> At the moment, I use a shell script (bash) which does something like this:
> 
>       pkg=libtool
>       prefix=/usr/local
>       ../$src/configure --prefix=$prefix <more_options> || exit
>       make || exit
>       make check || exit
>       make install-strip || exit
>       [ `id -u` == 0 ] && chown -R root: $prefix/share/$pkg

Why not
   chown -R `id -u`:`id -g` $prefix/share/$pkg
here, unconditionally?  Are there systems where chown does not
understand the uid:gid syntax?

Regards,
Ralf




reply via email to

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