-
Notifications
You must be signed in to change notification settings - Fork 82
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
WinFsp: Can't set read only file system #15
Comments
It is possible to mark a file system as read-only on WinFsp-FUSE by passing the (WinFsp specific) flag
Clearly this is an area where the WinFsp core could be improved (e.g. by rejecting write requests at the kernel level if the file system is marked read-only). Until that happens I recommend treating every file system as read-write and explicitly rejecting the requests that you do not want to handle with [NOTE: The WinFsp-FUSE supported options are here and a few additional ones here]. |
If I pass
-o ro
to WinFsp then doesn't mark the file system as read only as it does on linux. I think libfuse passes unknown options on tomount.fuse
which says in its man pageThis brings to mind 3 options
-EROFS
in any methods which do writing?What is your preferred option?
Thanks
The text was updated successfully, but these errors were encountered: