-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to recurisly delete folder #270
Comments
Yes that is how it is supposed to work. There seems to be something strange happening when you try to delete that directory and I can replicate the same issue here as well for that directory. I'll take a look and see what I can find. |
I may have tracked it down to no permissions to delete certain things in the folder. However this is a new lib to me so I just want to check that my thought train might be correct for it. I guess its forced to obey the NTFS permission flags ? My guess is it's really getting an access denied but that is not caught ? |
No, it has nothing to do with permissions. Permissions are entirely ignored by this library. It rather seems to be related to some index cache bugs somewhere. |
No, sorry. You were right. I see now that |
OK, so until that is patched I could just set |
Yes. That seems to work. |
I can confirm that resolves my issue but will leave this open for you to deal with :) |
The below code seems to generate a folder not empty Exception but I'm unsure why.
Would you have any idea's for me to try.
Unable to delete non-empty directory
My understanding is that
Delete(true)
should recursively delete all folders/files.The text was updated successfully, but these errors were encountered: