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

Make pollHack work on read-only mounts on Darwin #420

Closed
wants to merge 1 commit into from
Closed

Make pollHack work on read-only mounts on Darwin #420

wants to merge 1 commit into from

Conversation

valeriangalliat
Copy link

@valeriangalliat valeriangalliat commented Mar 7, 2022

Ports commit fee50bf to poll_darwin.go in order to allow read-only mounts on Darwin as well.

Fixes rfjakob/gocryptfs#595 where we can't use gocryptfs -ro or gocryptfs -reverse on macOS because go-fuse tries to write to the read-only mountpoint during initial mount.

Cheers!

Edit: signed the CLA and re-pushed so automated checks pass

Edit: potentially fixes #373

@google-cla
Copy link

google-cla bot commented Mar 7, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

adrianjagielak added a commit to adrianjagielak/go-fuse that referenced this pull request Apr 5, 2022
Ports commit fee50bf to poll_darwin.go in order to allow read-only mounts on Darwin as well.

Fixes rfjakob/gocryptfs#595 where we can't use gocryptfs -ro or gocryptfs -reverse on macOS because go-fuse tries to write to the read-only mountpoint during initial mount.

Cheers!

Edit: signed the CLA and re-pushed so automated checks pass

Edit: potentially fixes hanwen#373

hanwen#420
@hanwen
Copy link
Owner

hanwen commented May 19, 2022

could you send me a review through gerrithub? See https://github.com/hanwen/go-fuse/blob/master/CONTRIBUTING

@krim404
Copy link
Contributor

krim404 commented Aug 21, 2022

as this is open for a while now and a dealbreaker on OSX - maybe a little bump

@krim404
Copy link
Contributor

krim404 commented Aug 22, 2022

merged in 58a7e14 - can be closed

@valeriangalliat
Copy link
Author

Awesome, thanks for the bump and getting this patch though! ❤️

@valeriangalliat valeriangalliat deleted the poll-hack-read-only-darwin branch August 22, 2022 12:13
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.

macOS, -reverse mode, fs.Mount failed: read-only file system Examples get "permission denied" on macOS
3 participants