Comments (6)
It should now build with the latest git master, but I've not tested it properly yet.
from bindfs.
Thank you for such a fast response! Now I cloned the repo, previously tried to compile from a tarball. Since OpenBSD doesn't have bash by default, the usual bash location is in /usr/local/bin/bash. So autogen.sh should use /usr/bin/env bash instead.
Anyway, compilation went fine, but after I tried to mount... Nothing happens. It doesn't exit with an error or anything, it silently returns me a shell and the files don't appear where they are supposed to be.
Maybe I misunderstood something, but the basic usage seems to be
bindfs directory-to-mount path-where-to-mount
At least that's what I did.
from bindfs.
That kind of basic usage works for me in an OpenBSD 7.1 VM.
You can try bindfs -d ...
to have it stay in the foreground and print some debug info.
from bindfs.
Thanks, the issue was that I expected fuse to work without root privileges by default (the error message from the -d flag pointed me to the solution). Running with doas works fine. Other issue I noticed: manpages are missing.
from bindfs.
OpenBSD removed support for running FUSE filesystems as non-root. This surprised me too. I guess bindfs on OpenBSD could check for this and print an error. I'm surprised their FUSE library doesn't already do this.
Good to hear that it seems to mostly work with such a small change. I'll leave this issue open since clearly there are more things to look into to properly support OpenBSD. Finding time for that is another matter :(
from bindfs.
It's not that suprising considering that programs such as bindfs can trick other programs to read wrong config files, execute different scripts, etc. So I see how this can be dangerous and how a separate privilege level for using fuse programs should be added (a separate fuse group suffices, I think). Anyway, thanks for your hard work, once I figure out the man page issue bindfs can be packaged in OpenBSD ports!
from bindfs.
Related Issues (20)
- Failed to resolve mount point on MacOS / Ventura HOT 3
- [Question/Bug maybe?] preserve/mirror file's selinux context HOT 2
- bindfs file descriptor leak with --block-devices-as-files HOT 2
- Behavior Question: Why does BindFS exhibit permission issues when bind mounted into a container? HOT 2
- Mount directory as a non-root user from /etc/fstab HOT 3
- no package Bindfs available HOT 3
- Support for 64bit statfs on macOS HOT 1
- Race condition between `bindfs` exit and filesystem actually being mounted HOT 5
- Unable to listen to unix domain socket inside bindfs mount on macOS HOT 8
- Test suite fails with fuse-t HOT 1
- ACLs on MacOS HOT 3
- configure: error: FUSE not found on Mac 13.5.1 HOT 5
- homebrew: Unsatisfied requirements failed this build. HOT 2
- macos: Provide Launch Agent to mount bindfs on system startup HOT 4
- Support for negative offset (?) HOT 3
- [1.17.5] Commit 38cd6e7e13ce966dc8e196eb3037935682e613a6 introduced undefined behavior? HOT 3
- Contributing simple Linux CI based on GitHub Actions via pull request welcome? HOT 17
- 1.17.6 no longer compiles on CentOS 7 HOT 1
- Memory allocation failures not checked
- Don't know how to build a static `bindfs` executable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bindfs.