Olof Lagerkvist

Results 117 comments of Olof Lagerkvist

No, the `DOKAN_OPTIONS_*` flags can be set in `Options` field in `DOKAN_OPTIONS` structure when mounting a new file system. It does not need recompiling driver or library.

> I'm a little confused... I don't mind the source code having both Dokany & FUSE code, but how does one do that? The problem here was apparently that if...

> I use the InitializeSecurityDescriptor and SetSecurityDescriptorDacl methods from advapi32.dll, get the SECURITY_DESCRIPTOR structure, convert its IntPtr to a byte array and set it to the VolumeSecurityDescriptor field. After that...

Could you share some details about the exception you get? What type of exception and if there are any more details in it.

Ah okay I understand. I missed that part. You need to resize the array: `Array.Resize(ref bytes, 16384);`

Have you installed the Dokan setup package? Did you get any errors when you did that? What does the command `sc query dokan2` at command line say?

Strange. Could it be some kind of version mismatch between the native dokan2.dll that gets loaded into your process and Dokan2 driver? I am unsure in this case. It looks...

> > Strange. Could it be some kind of version mismatch between the native dokan2.dll that gets loaded into your process and Dokan2 driver? I am unsure in this case....

Okay, so the problem here is that the security descriptor does not allow anything which means that everything is disallowed, which causes dokan2.dll not to be able to open the...

I think you should try to allow everything and then deny delete, but make sure that the denial does not propagate to anything else (i.e. "this object only"). But I...