[Top][All Lists]
[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
- bug#12366: [gnu-prog-discuss] Writing unwritable files, (continued)
- bug#12366: [gnu-prog-discuss] Writing unwritable files, Paul Eggert, 2012/09/06
- bug#12366: [gnu-prog-discuss] Writing unwritable files, Bob Proulx, 2012/09/06
- bug#12366: [gnu-prog-discuss] Writing unwritable files, Paul Eggert, 2012/09/06
- bug#12366: [gnu-prog-discuss] Writing unwritable files, Bernhard Voelker, 2012/09/06
- bug#12366: [gnu-prog-discuss] Writing unwritable files, Paul Eggert, 2012/09/06
- bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files, John Darrington, 2012/09/06
- bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files, Paolo Bonzini, 2012/09/07
- bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files, Paul Eggert, 2012/09/07
- bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files, Bob Proulx, 2012/09/07
- bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files, Bob Friesenhahn, 2012/09/06
- bug#12366: [gnu-prog-discuss] bug#12366: Writing unwritable files,
Paolo Bonzini <=