Date: Thu, 26 Feb 2015 18:39:30 +0100 From: Polytropon <freebsd@edvax.de> To: "William A. Mahaffey III" <wam@hiwaay.net> Cc: FreeBSD Questions !!!! <freebsd-questions@freebsd.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150226183930.477ed7b5.freebsd>