You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move a readonly file results in inconsistent state #870
Describe the bug
Moving a readonly file throws (correctly) an UnauthorizedAccessException, but afterwards both the source file and also the target file exist.
To Reproduce
Consider the following unit test (using Xunit and FluentAssertions):
Activity
vbreuss commentedon Aug 9, 2022
I would be happy to provide a solution for this issue myself. Will create a pull request shortly...
fix: TestableIO#870 Moving a readonly file duplicates the file
fix: TestableIO#870 Moving a readonly file duplicates the file
fix: TestableIO#870 Moving a readonly file duplicates the file
fix: #870 Moving a readonly file duplicates the file (#873)
github-actions commentedon Aug 15, 2022
This is addressed in release v17.0.28.
fix: TestableIO#870 Moving a readonly file duplicates the file (Testa…
fix: move a read-only file
fix: move a read-only file (#1239)