bug-coreutils
[Top][All Lists]
Advanced

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

Re: install.c: please set unlink_dest_before_opening=false


From: Paul Eggert
Subject: Re: install.c: please set unlink_dest_before_opening=false
Date: Wed, 21 Feb 2007 16:15:45 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Robert Millan [ackstorm]" <address@hidden> writes:

> On Tue, Feb 20, 2007 at 03:19:57PM -0800, Paul Eggert wrote:
>> "Robert Millan [ackstorm]" <address@hidden> writes:
>> 
>> > I haven't checked POSIX though, but if this is actualy a requirement
>> > maybe a POSIX_ME_HARDER hack would make sense here?
>> 
>> POSIX makes no requirement.  Other implementations are all over the
>> map here, so I suppose we can do what is more convenient.
>
> Well of course I believe my proposal is more convenient, but I have yet
> to hear a counter-argument.  I take it this hasn't been discussed before?

It probably has....

An argument for the current behavior of breaking the link is that many
systems don't let you write files that are currently being executed.

I suppose there could be an option.

FreeBSD install has -C and -S options that affect the behavior in this
area, but to be honest I don't fully understand what they do.  The
documentation is a bit vague, and the area is a bit of a mess.
<http://www.freebsd.org/cgi/man.cgi?query=install>




reply via email to

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