Git Product home page Git Product logo

Comments (6)

mpartel avatar mpartel commented on July 16, 2024

It should now build with the latest git master, but I've not tested it properly yet.

from bindfs.

vl-ms avatar vl-ms commented on July 16, 2024

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.

mpartel avatar mpartel commented on July 16, 2024

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.

vl-ms avatar vl-ms commented on July 16, 2024

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.

mpartel avatar mpartel commented on July 16, 2024

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.

vl-ms avatar vl-ms commented on July 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.