Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2018 09:55:35 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: msdosfs_iconv issues
Message-ID:  <CALM2mEmz0JAq%2BaPW0NR3V0qbROQPihX4qkn9KJB0bh3c1WVE-g@mail.gmail.com>
In-Reply-To: <CALM2mEmcxp=z3u=6jYGB1kbc5sdpFpHHfMMY1AQZS5R2M=x-Uw@mail.gmail.com>
References:  <CALM2mEmcxp=z3u=6jYGB1kbc5sdpFpHHfMMY1AQZS5R2M=x-Uw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 13, 2018 at 1:08 AM, blubee blubeeme <gurenchan@gmail.com>
wrote:

> according to man msdosfs
>
> I can run a command like this:
> mount_msdosfs -L en_US.UTF-8 /dev/da0s1 $HOME/usb
>
> this always returns operation not permitted.
>
> looking into that a bit further it seems that I need to load a
> msdosfs_iconv.ko and that needs to be root, using
> /etc/rc.conf
> or
> /boot/loader.conf
>
> the module is loaded at boot time but I still get operation not permitted.
>
> if I remove the locale option from mount_msdosfs the file loads but of
> course, I cannot read any of my documents.
>
> This seems a bit odd but I understand that constantly loading
> msdosfs_iconv can DDoS the system fine.
>
> How can I mount my drives with locale or at least proper utf-8 encoding?
>

[bumb]
This is the only thing that works so far:
https://forums.freebsd.org/threads/36897/

First mount_msdos -L [locale] with root, then unmount then mount with
regular user.

This totally ruins the point of mounting w/o root permissions.

Is there any way to fix this w/o doing root commands?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEmz0JAq%2BaPW0NR3V0qbROQPihX4qkn9KJB0bh3c1WVE-g>