Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2015 03:04:41 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        aeuii@posteo.de
Cc:        freebsd-stable@freebsd.org
Subject:   Re: mount_msdosfs: msdosfs_iconv: Operation not permitted
Message-ID:  <20150729200441.GA11983@rdtc.ru>
In-Reply-To: <86mvyen4jz.fsf@posteo.de>
References:  <86mvyen4jz.fsf@posteo.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 29, 2015 at 09:32:00PM +0200, aeuii@posteo.de wrote:

> Generally, I'm not able to mount msdos file system as a regular user
> with extra charset options (-L) before the superuser.  After the
> superuser mounts (and unmounts) the file system, regular users can do it
> to.

msdosfs charset support must be compiled into the kernel or
loaded by mount_msdosfs(8) first time it is used.

When mount_msdosfs command run with superuser rights,
it loads needed code into the kernel successfully.
Without superuser righs, it fails.

Just load libiconv.ko and msdosfs_iconv.ko by means of
/boot/loader.conf or /etc/rc.conf at boot time and
you should be fine.

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150729200441.GA11983>