Search code examples
pythonfuse

Allow_Other with fusepy?


I have a 16.04 ubuntu server with b2_fuse mounting my b2 cloud storage bucket which uses pyfuse. The problem is, I have no idea how I can pass the allow_other argument like with FUSE! This is an issue because other services running under different users cannot see the mounted drive.

Does anybody here have some experience with this that could point me in the right direction?


Solution

  • Inside of file b2fuse.py if you change the line:

    FUSE(filesystem, mountpoint, nothreads=True, foreground=True)
    

    to

    FUSE(filesystem, mountpoint, nothreads=True, foreground=True,**{'allow_other': True})
    

    the volume will be mounted with allow_other.