-
Notifications
You must be signed in to change notification settings - Fork 547
Description
Hi,
I have an issue deleting a whole folder and its hierarchy from within my program.
First I thought it is a problem with the standard library of my programming language Rust. After I opened an issue there (rust-lang/rust#126576) with the help of the incredible Rust community we narrowed down the problem and the chance is high, that the issue is in this driver.
What we narrowed down:
This is my folder hierarchy (to be deleted):
foo
bar
some.txt
To delete this hierarchy, my code is doing the following high level operations (just pseudo code) with the standard functions CreateFileW
and NtCreateFile
:
let foo_dir = CreateFileW(...);
let bar_dir = NtCreateFile(parent=foo_dir, ...);
let some_file = NtCreateFile(parent=bar_dir, ...); // This line returns now an error - code: 53, kind: NotFound
This problem happens only with this WINFSP driver for SFTP. I tried some alternatives, and there the operatoins work without a problem.
Do you have any idea why this could happen?