problems mounting camera to download pics ....

William A. Mahaffey III wam at hiwaay.net
Thu Feb 26 23:08:25 UTC 2015


On 02/26/15 15:54, Adam Vande More wrote:
> On Thu, Feb 26, 2015 at 11:38 AM, William A. Mahaffey III <wam at hiwaay.net>
> 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 at kabini1, ~, 11:33:11am] 530 % mount /media/flash/
>> mount_msdosfs: /dev/da0s1: Operation not permitted
>> [wam at 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.



More information about the freebsd-questions mailing list