SMB1 fails renaming an open file
Reproduced using the attached "MoveAndDelete1.exe" program.
Map a network drive on a server where only SMB1 is enabled (no SMB2 or later),
create a file (i.e. with notepad) such as T:\dir\FileToDelete.txt,
then run the test program like: MoveAndDelete1 T:\dir\FileToDelete.txt
Before the fix, the program fails with an error.
After the fix, the delete works, no error.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 575d359d36700f4571e4a87c94966a99b8b7f48a Author: Gordon Ross <firstname.lastname@example.org> Date: 2019-05-29T22:07:47.000Z 10987 SMB1 fails renaming an open file Reviewed by: Matt Barden <email@example.com> Reviewed by: Rick McNeal <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>