From owner-freebsd-fs@FreeBSD.ORG Tue Apr 7 01:28:01 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E649301; Tue, 7 Apr 2015 01:28:01 +0000 (UTC) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6FA633E; Tue, 7 Apr 2015 01:28:00 +0000 (UTC) Received: from laptop2.herveybayaustralia.com.au (laptop2.herveybayaustralia.com.au [192.168.0.185]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 2880B620A2; Tue, 7 Apr 2015 11:27:51 +1000 (EST) Message-ID: <55233297.2050707@herveybayaustralia.com.au> Date: Tue, 07 Apr 2015 11:27:51 +1000 From: R Skinner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Mark Felder , freebsd-fs@freebsd.org Subject: Re: fuse user mounting fails References: <5521DF1E.8000703@herveybayaustralia.com.au> <1428336301.16948.249831965.53E2F0C9@webmail.messagingengine.com> In-Reply-To: <1428336301.16948.249831965.53E2F0C9@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 01:28:01 -0000 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... :)