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

bindfs does not support devices #52

Closed
itamarst opened this issue Apr 12, 2017 · 4 comments
Closed

bindfs does not support devices #52

itamarst opened this issue Apr 12, 2017 · 4 comments

Comments

@itamarst
Copy link

Ubuntu 16.04, bindfs 1.12.6 (but similar problems on OS X with latest version):

root@hexagon:/tmp# umount root/
root@hexagon:/tmp# bindfs / root
root@hexagon:/tmp# cat /dev/null
root@hexagon:/tmp# cat root/dev/null 
cat: root/dev/null: Permission denied

If this is solvable I might try to submit a patch, so will look into code soon if I have time. If this is not solvable this limitation should be documented.

@mpartel
Copy link
Owner

mpartel commented Apr 13, 2017

Looks like -odev makes it work. FUSE mounts with -onodev by default. I agree, this should be documented. I'll do so.

@itamarst
Copy link
Author

itamarst commented Apr 13, 2017

Thanks! Doesn't seem to do the trick on OS X, unfortunately (bindfs -o dev / /tmp/root).

@mpartel
Copy link
Owner

mpartel commented Apr 13, 2017

Oh, that's unfortunate. I'll note that on the man page.

@itamarst
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants