Mount & fuse3: unknown options
System
- arch linux (6.13.3)
- rustic-rs commit d1b11f9c5f8b83056a96608ea22a227f0d71431e (v0.9.5)
- fuse3 v3.16.2
Issue
When trying to use mount, I get the following error from fuse:
fuse: unknown option(s): `-o allow_other,kernel_cache'
With --exclusive, I still get the error:
fuse: unknown option(s): `-o fsname=rusticfs:178b8851,kernel_cache'
For some reason, fuse doesn't seem to know any options, even stuff like debug doesn't get accepted. I'm not sure if this is an issue with rustic or my system, either way, any help would be very welcome.
Not sure if it solves all issues but allow_other has to be enabled first.
- Open the file /etc/fuse.conf in a text editor
- Change the line that says user_allow_other . I think by default it is commented out and all you need to enable it is remove the comment at the start of the line.
Try again
Thank you for the tip, but that sadly doesn't help. I run rustic as root, could that be the issue?
IIRC this is an issue when using fuse3 in combination with rustic. @jullanggit are you self-compiling? In any case you should try to use libfuse.so instead of libfuse3.so.
#1366 might solve the issue with fuse3.
@aawsome yes, I'm compiling from source (cargo install -F mimalloc,mount --git https://github.com/rustic-rs/rustic rustic-rs). When linking with fuse (RUSTFLAGS="-L /usr/lib -lfuse"), I no longer get the errors, but the mount-point specified under the [mount] section remains empty. (running the mount command (for listing mounts) also doesn't show it, but I'm not sure if that's normal with fuse)
I would also be open to work on #1366, but I would need some guidance for that