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

FreeBSD mount_fusefs: exit status 71 #206

Open
doubleddav opened this Issue Dec 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@doubleddav
Copy link

doubleddav commented Dec 10, 2018

Hi,

There appear to be issues on FreeBSD (tested on 11 and 12) using the fuse.AllowOther() option.

Using the helloworld example, I was able to successfully compile and “mount” the example as expected.

By adding fuse.AllowOther(), compiling and running again I get the following:
mount helper error: mount_fusefs: /dev/fuse on /tank/onedrive: Operation not permitted Fatal error: failed to mount FUSE fs: mount_fusefs: exit status 71

Below is a snippet from hello.go that I edited

func main() {
        flag.Usage = usage
        flag.Parse()

        if flag.NArg() != 1 {
                usage()
                os.Exit(2)
        }
        mountpoint := flag.Arg(0)

        c, err := fuse.Mount(
                mountpoint,
                fuse.FSName("helloworld"),
                fuse.Subtype("hellofs"),
                fuse.LocalVolume(),
                fuse.VolumeName("Hello world!"),
                fuse.AllowOther(),
        )


We have found this as a result using rclone to mount remote cloud storage as a non-root user. I have raised a bug there as well which can be found here: ncw/rclone#2828

@animosity22

This comment has been minimized.

Copy link

animosity22 commented Feb 7, 2019

I was testing on FreeBSD 12 and hit the same issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment