Skip to content

Winfuse readonly#90

Merged
Liryna merged 2 commits intodokan-dev:masterfrom
vmsrc:winfuse_readonly
Oct 14, 2015
Merged

Winfuse readonly#90
Liryna merged 2 commits intodokan-dev:masterfrom
vmsrc:winfuse_readonly

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.

vmsrc added 2 commits October 14, 2015 19:44
…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