From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 23:08:25 2015 Return-Path: Delivered-To: freebsd-questions@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 5E7E9D21 for ; Thu, 26 Feb 2015 23:08:25 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 233DD7FB for ; Thu, 26 Feb 2015 23:08:24 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-223.adsl.hiwaay.net [216.180.76.223]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t1QN8N48015582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 17:08:23 -0600 Message-ID: <54EFA8DE.9050909@hiwaay.net> Date: Thu, 26 Feb 2015 17:14:38 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: problems mounting camera to download pics .... References: <54EF5A28.8010605@hiwaay.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 23:08:25 -0000 On 02/26/15 15:54, Adam Vande More wrote: > On Thu, Feb 26, 2015 at 11:38 AM, William A. Mahaffey III > wrote: > >> >> .... I am trying to mount my digital camera to download some pics I just >> took. When I do this as root, it works AOK & I got the pics off. However, >> when I changed my fstab file to (supposedly) allow regular users to mount >> that directory, the mount command fails: >> >> >> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ >> mount_msdosfs: /dev/da0s1: Operation not permitted >> [wam@kabini1, ~, 11:35:58am] 530 % >> >> >> relevant lines from my fstab file: >> >> >> /dev/da0s1 /media/flash msdosfs >> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 >> # /dev/da0s1 /media/flash msdosfs >> rw,sync,noauto,longnames,-Lru_RU.UTF-8 0 0 >> >> >> FreeBSD 9.3-RELEASE-p9 >> >> Not a huge issue, since I can get 'er done as root, but I don't see why >> this shouldn't be feasible as a regular user .... TIA & have a nice, snowy >> (here) day ;-) .... >> > sysctl vfs.usermount=1 > Already tried, didn't work, however someone else suggested setuid on /sbin/(u)mount & that worked .... Thanks :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.