bug-coreutils
[Top][All Lists]
Advanced

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

bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files


From: Paolo Bonzini
Subject: bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files
Date: Thu, 06 Sep 2012 23:01:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

Il 06/09/2012 20:21, Bob Friesenhahn ha scritto:
>>
>> No, unlink/rename "sed -i" replaces the file atomically.  A program that
> 
> POSIX rename assures that the destination path always exists if it
> already existed.

My bad, I meant link-breaking/rename.  Of course you must not unlink first.

Paolo





reply via email to

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