Trouble with mounting USB stick as user

Igor Robul igorr at speechpro.com
Wed Feb 8 22:40:37 PST 2006


On Wed, Feb 08, 2006 at 07:36:36PM +0100, martinko wrote:
> $ mount /usr/home/mato/mnt/win/
> mount_ntfs: /dev/ad0s6: Operation not permitted
> [mb-aw1n-bsd][mato][~]
> $ mount /usr/home/mato/mnt/lin/
> mount_ext2fs: /dev/ad0s7: Operation not permitted
> [mb-aw1n-bsd][mato][~]
> $ mount /usr/home/mato/mnt/fat/
> mount_msdosfs: cannot find or load "msdosfs_iconv" kernel module
> mount_msdosfs: msdosfs_iconv: Operation not permitted
Do you have filesystem  modules loaded?
While vfs.usermount=1 allows user to mount filesystems, it does not
allow him load modules. For removamble devices I have following in my 
/etc/rc.local:

mount /rem/floppy
mount /rem/flash

These mount commands dont mount anything without media in drive, but
they load all modules and setup kernel locale stuff.




More information about the freebsd-stable mailing list