Skip to content

"Access denied" error with FUSE mountpoint created using a sample Dokany Fuse Windows program using MSVC by linking against "dokanfuse2.lib" #1249

Discussion options

You must be logged in to vote

The main issue was that the callback functions were getting called with Unix-style paths instead of Windows-style paths in the function arguments. Code was added in the callback functions to convert the Unix-style paths to Windows-style paths before using them in places where Windows-style paths were expected.
After this, the XXX_getattr() function and XXX_open() function are working as expected.

Thanks @Liryna for providing the required pointers.

The list of "Gotchas" from https://www.cs.hmc.edu/~geoff/classes/hmc.cs135.201109/homework/fuse/fuse_doc.html were also very helpful.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Liryna
Comment options

@dipujoseph-revenera
Comment options

@dipujoseph-revenera
Comment options

Comment options

You must be logged in to vote
1 reply
@dipujoseph-revenera
Comment options

Answer selected by dipujoseph-revenera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants