Environment
- Windows version: Windows 11 Pro (23H2)
- Processor architecture: x86
- Dokany version: 2.2.0.1000
Description
We are trying to restrict deletion of file in some predefined cases. We tried returning STATUSS_ACCESS_DENIED from delete_file if the predefined condition are met. But later we got to know that delete_file is not getting called all the time when a file is getting deleted. So we also tried returning STATUSS_ACCESS_DENIED in create_file if delete_on_close is to true and predefined conditions met, but this also not preventing the file from getting deleted.
We also went thought the Question about preventing dokan delete a file discussion. We tried this fix but it didn't work for us.