From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 17:39:40 2015 Return-Path: Delivered-To: freebsd-questions@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 1525B228 for ; Thu, 26 Feb 2015 17:39:40 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (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 C89A0938 for ; Thu, 26 Feb 2015 17:39:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-131-196.dynamic.qsc.de [92.195.131.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 8E61C3CC66; Thu, 26 Feb 2015 18:39:31 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t1QHdV5u040411; Thu, 26 Feb 2015 18:39:31 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 26 Feb 2015 18:39:30 +0100 From: Polytropon To: "William A. Mahaffey III" Subject: Re: problems mounting camera to download pics .... Message-Id: <20150226183930.477ed7b5.freebsd@edvax.de> In-Reply-To: <54EF5A28.8010605@hiwaay.net> References: <54EF5A28.8010605@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! 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 17:39:40 -0000 On Thu, 26 Feb 2015 11:38:48 -0600, 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 % And with "sudo" prefix? :-) > relevant lines from my fstab file: > > > /dev/da0s1 /media/flash msdosfs > rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 Suggestion regarding msdosfs: add "-m=644,-M=755" to the options to get rid of the fake +x attributes for the files. You could also add "noatime". > 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 ;-) .... Do you have the mandatory "vfs.usermount=1" in /etc/sysctl.conf? Also check the device permissions: User or group requires rw for the device and must own the mountpoint. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...