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: Fri, 02 Mar 2007 16:26:24 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Imagine we're installing a file that will serve as an access
> control list.  Depending on the layout/semantics of the file,
> letting processes use an incomplete copy might be
> equivalent to granting access to everyone.

Sure, but we have that problem now, right?  Currently "install FOO BAR"
unlinks BAR, then creates BAR as an incomplete copy; so if someone
reads BAR while we're installing it, we'll have trouble.

I'm not convinced we should change the current default behavior, but
it may well make sense to have another option (if someone wants to
implement it....).




reply via email to

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