Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Apr 2015 11:05:01 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        R Skinner <rocky@herveybayaustralia.com.au>, freebsd-fs@freebsd.org
Subject:   Re: fuse user mounting fails
Message-ID:  <1428336301.16948.249831965.53E2F0C9@webmail.messagingengine.com>
In-Reply-To: <5521DF1E.8000703@herveybayaustralia.com.au>
References:  <5521DF1E.8000703@herveybayaustralia.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1428336301.16948.249831965.53E2F0C9>