fuse user mounting fails

R Skinner rocky at herveybayaustralia.com.au
Tue Apr 7 01:28:01 UTC 2015


On 04/07/15 02:05, Mark Felder wrote:
>
> 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.
As mentioned, that sysctl is actually set - I can mount other FAT 
devices just fine, any time fuse is in use it won't work though.

Its a fuse specific issue that I haven't gotten around to looking into 
until now, I'll probably be forced to look into gvfs next... :)


More information about the freebsd-fs mailing list