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

next in thread | previous in thread | raw e-mail | index | archive | help
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... :)



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