From owner-freebsd-fs@FreeBSD.ORG Mon Apr 6 16:05:09 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 914B2858 for ; Mon, 6 Apr 2015 16:05:09 +0000 (UTC) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (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 600FCC44 for ; Mon, 6 Apr 2015 16:05:09 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 28FA3740 for ; Mon, 6 Apr 2015 12:04:58 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute5.internal (MEProxy); Mon, 06 Apr 2015 12:05:01 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=+m+yAplrSjU4UpO /aJyiFqdMT0o=; b=BLiUnpTXe2a7TaMU7aVSofyEw5lpiGxP5NG4mGRiz9/3hqV 0jxz2zZUzr8kU5jW159DU0MnFEJPnhZo3WuF816z2/zgh5ZuVhe/HSeZaLrg/IKW vkq00IKhiINu8ZYeN6rxEmbmr4WoGxgVgeAUxs/RUS7OXwRTwDKuHsXjOfUs= Received: by web3.nyi.internal (Postfix, from userid 99) id A20D710C1FB; Mon, 6 Apr 2015 12:05:01 -0400 (EDT) Message-Id: <1428336301.16948.249831965.53E2F0C9@webmail.messagingengine.com> X-Sasl-Enc: +DWn6zy6tyTYEkq58sPwRwRHInPCZBnPmjJTCIcfqyaZ 1428336301 From: Mark Felder To: R Skinner , freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-0b3c2300 In-Reply-To: <5521DF1E.8000703@herveybayaustralia.com.au> References: <5521DF1E.8000703@herveybayaustralia.com.au> Subject: Re: fuse user mounting fails Date: Mon, 06 Apr 2015 11:05:01 -0500 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: Mon, 06 Apr 2015 16:05:09 -0000 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.