Hi,

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


Regards,
Lace


Reply via email to