libtool-patches
[Top][All Lists]
Advanced

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

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


From: Albert Chin
Subject: Re: FYI: libtool-1.5.18 -- installed files owned by non-root user
Date: Sun, 10 Jul 2005 14:08:54 -0500
User-agent: Mutt/1.5.6i

On Fri, Jul 08, 2005 at 06:27:51PM +0100, Gary V. Vaughan wrote:
> Hallo Ralf,
> 
> Sorry for the late review:
> 
> On 8 Jul 2005, at 16:57, Ralf Wildenhues wrote:
> >2005-07-08  Peter Breitenlohner  <address@hidden>
> >
> >    * Makefile.am (install-data-local): Have root own of installed
> >    files (but do not fail, for user installs).
> >
> >Index: Makefile.am
> >===================================================================
> >RCS file: /cvsroot/libtool/libtool/Makefile.am,v
> >retrieving revision 1.153
> >diff -u -r1.153 Makefile.am
> >--- Makefile.am    2 May 2005 09:20:24 -0000    1.153
> >+++ Makefile.am    8 Jul 2005 15:54:01 -0000
> >@@ -254,6 +254,8 @@
> >     done; \
> >     ( cd $(srcdir)/m4 && $(AMTAR) chf - $$aclocalfiles; ) \
> >       | ( umask 0 && cd $(DESTDIR)$(aclocaldir) && $(AMTAR) xf -; )
> >+    chown -R root $(DESTDIR)$(ltdldatadir) && \
> >+    chgrp -R root $(DESTDIR)$(ltdldatadir) || :
> 
> What about:
> 
>     -chown -R root $(DESTDIR)$(ltdldatadir) 2>/dev/null
>     -chgrp -R root $(DESTDIR)$(ltdldatadir) 2>/dev/null

I like this too.

-- 
albert chin (address@hidden)




reply via email to

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