Loading...
Guest user 

First recorded build

 
All history
 

Last recorded build

Build revisions

VCS Root Revision
(jetbrains.git) github.com/syncthing/syncthing aad3a589f73cf8df024df255300e9a5bd75a1432
(jetbrains.git) github.com/syncthing/teamcity-config 5bf2d516ded3127abffa9eac721ef771aa3f4486

Permalink

lib/osutil: Fix "atomic" rename on Windows (ref #6495 , #6493 )

So, in a funny plot twist, it turns out that WriteFile in Go 1.13
doesn't actually set the read only bit on Windows when called with
permissions 0444 so my test was broken. With an improved test it turns
out that Rename does not, in fact, overwrite a read-only file on
Windows. This adds a fix for that.

(Rename might get improved in Go 1.15...)
jakob@kastelo.net 2 files  aad3a589f73c 07 Apr 20 09:29

×

×

Pin build

Cancel
×

Add build comment

Cancel
×

Promote Build

×

Add build comment

Cancel
×

Mute test

×

×

Server communication failure

Server is unavailable

Server stopped or communication with the server is not possible due to network failure.

Server shutdown started.

Please relogin to continue your work.

×

Run Custom Build

×

TODO

Loading related builds...
Cancel
×

Responsibility

×

Edit tags

Cancel
×

Loading...

×

Are you sure?

Cancel
×

Cancel