Closed Temtaime closed 2 years ago
Hi @Temtaime ,
Here is the rmdir call: https://github.com/dokan-dev/dokany/blob/master/dokan_fuse/src/fusemain.cpp#L172
Ok, i was wrong. I did not found where DeleteOnClose is set and thought that this path is not executed for regular directory deletion. Finally i installed cygwin to run fuse mirror and seems that it works and deletes the directories. But in my program i'm getting "invalid msdos function" from explorer and cannot find why it refuses to call rmdir at all. Maybe can you shed light upon rmdir calling ? Which functions are needed for it to work? I already have getattr and readdir.
Found it. For those who get "invalid ms-dos function" upon deleting a file - set 0777 permissions on st_mode in getattr function.
Environment
Check List
Description
Hi. Seems that DeleteDirectory is not working at all because of missed rmdir call. See https://github.com/dokan-dev/dokany/blob/master/dokan_fuse/src/fusemain.cpp#L464