[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] Keep executability of config.status-ed files
From: |
Bob Friesenhahn |
Subject: |
Re: [patch] Keep executability of config.status-ed files |
Date: |
Wed, 10 Dec 2003 12:42:26 -0600 (CST) |
On Wed, 10 Dec 2003, Jan Kratochvil wrote:
> On Wed, 10 Dec 2003 19:14:00 +0100, Bob Friesenhahn wrote:
> > On Wed, 10 Dec 2003, Akim Demaille wrote:
> ...
> > > chmod +w :)
> >
> > Which will fail if the current user does not have the right to update
> > the file (e.g. owned by another user ID). This may seem unusual, but
> > it can be expected for a read-only source tree, or if the source tree
> > is extracted by another user.
>
> This 'read-only another user ID' applies to FILE.in but not to FILE - FILE
> must
> be writable by our (>). Is it OK this way?
>
> cp srcdir/FILE.in builddir/FILE
> chmod +w builddir/FILE
> sed ... <srcdir/FILE.in >builddir/FILE
Seems good to me!
I would prefix that with
rm -f builddir/FILE
just to make sure.
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen
- Re: [patch] Keep executability of config.status-ed files, (continued)
- Re: [patch] Keep executability of config.status-ed files, Jan Kratochvil, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Akim Demaille, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Sunshine, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Paul Jarc, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Sunshine, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Bob Friesenhahn, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Bob Friesenhahn, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Akim Demaille, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Bob Friesenhahn, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Jan Kratochvil, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files,
Bob Friesenhahn <=
- Re: [patch] Keep executability of config.status-ed files, Eric Sunshine, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Paul Jarc, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Sunshine, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Paul Jarc, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Sunshine, 2003/12/10
- Re: [patch] Keep sanity in autotools, Bruce Korb, 2003/12/10
- Re: [patch] Keep sanity in autotools, Eric Sunshine, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Siegerman, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Daniel Jacobowitz, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Sunshine, 2003/12/10