problems mounting camera to download pics ....
freebsd at edvax.de
Thu Feb 26 17:39:40 UTC 2015
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 at kabini1, ~, 11:33:11am] 530 % mount /media/flash/
> mount_msdosfs: /dev/da0s1: Operation not permitted
> [wam at 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.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions