fuse user mounting fails

Mark Felder feld at FreeBSD.org
Mon Apr 6 16:05:09 UTC 2015



On Sun, Apr 5, 2015, at 20:19, R Skinner wrote:
> I'm just starting (regular) use with fuse, and this is using the exfat 
> fuse module. I tried with ntfs-3g on occasion with similar results, but 
> now I need this to work a whole lot better.
> 
> As root I can get fuse modules to mount a file system with no issue; 
> albeit I have to set mode and owner so that is usable for my purposes.
> 
> I want to set things so that as a normal user (so not just myself) can 
> mount these. Currently I get:
> 
> FUSE exfat 1.0.1
> mount_fusefs: /dev/fuse on /usr/home/admin/mnt: Operation not permitted
> fuse: failed to mount file system: No such file or directory
> 
> Permissions are set for operator group rw on /dev fuse, da*, usb*, and 
> so on... you get my drift - other cards all work if just msdosfs using 
> usual mount ops. Just fuse is an issue. Sysctl vfs.usermount is set to 1.
> 
> I've tried truss, truss -f but I can't make head or tail of it.
> 
> I'm not exactly any kind of expert on fuse, is there any quick fixes I'm 
> missing? What debug do I need to do? Most searches mention permissions 
> issues and sysctl, can't find anything that actually helps. This on 10.0 
> atm as well, I have a 10.1 I can test on if required but would rather 
> not given current operations.
> 

Try running this:

sysctl vfs.usermount=1


And then try mounting as non-root user. If that is a satisfactory
solution you can put "vfs.usermount=1" in /etc/sysctl.conf so it is set
every boot.


More information about the freebsd-fs mailing list