Skip to content
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

Winfuse readonly #90

Merged
merged 2 commits into from
Oct 14, 2015
Merged

Winfuse readonly #90

merged 2 commits into from
Oct 14, 2015

Conversation

vmsrc
Copy link
Contributor

@vmsrc vmsrc commented Oct 14, 2015

I have added two commits.

The first commit fixes the O_RDONLY parameter, passed to the fuse_win callbacks.
I could apply the same modification to required_share() but I cannot test it at the moment.

The second commit adds partial read-only export to the system. We definitely want to export files with mode 0444, 0111, 0544... as a read-only files.

Both commits were tested with the the "hello" FUSE sample file.

…ration request

STANDARD_RIGHTS_WRITE and FILE_GENERIC_WRITE are actually read access flags.
Probably the same modification should be applied to required_share()
export files woth mode=0444 as read only
@Liryna
Copy link
Member

Liryna commented Oct 14, 2015

Thank you @c-klapaucius for you contribution !
If you seen any changes that should be done in dokan fuse, I would be happy to review it !

Do you have other example as "hello" FUSE that could help to know the stat of dokan fuse ?

Liryna added a commit that referenced this pull request Oct 14, 2015
@Liryna Liryna merged commit 24ecb23 into dokan-dev:master Oct 14, 2015
@kriswebdev
Copy link

Thank you. I just came to the conclusion that these incorrect flags were partially causing read-only file open issues in encfs4win, along with a coding mistake in encfs4win.
This bug is one cause of freddy77/encfs4win#5. However, encfs4win doesn't support Dokany 0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants