Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2010 20:05:58 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        dan <glimp@live.com>, freebsd-questions@freebsd.org
Subject:   Re: mount_msdosfs -L ... [odd behaviour ?]
Message-ID:  <AANLkTik3ZLU4U4ck0DiJyCrvNxb_4QbnNxOUpJJOTHJQ@mail.gmail.com>
In-Reply-To: <AANLkTimj5gaf5gPKX7NyQtwgPvGmUGo1nB75LRmvh18f@mail.gmail.com>
References:  <BLU0-SMTP1086178B9ACF1907F247ADCDC440@phx.gbl> <DECFA273-6196-4D4F-97BE-3126B307ED19@mac.com> <BLU0-SMTP15340497DCA728BEF6F24B4DC450@phx.gbl> <AANLkTin19ydz-OHbnOnJjXo_i_Z2%2B0pfAWGU7L%2B8GHiR@mail.gmail.com> <BLU0-SMTP859CA7F78F3504D8931828DC450@phx.gbl> <AANLkTimj5gaf5gPKX7NyQtwgPvGmUGo1nB75LRmvh18f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/10/29 Adam Vande More <amvandemore@gmail.com>:
> On Fri, Oct 29, 2010 at 7:53 AM, dan <glimp@live.com> wrote:
>
>> On 10/29/10 13:22, Adam Vande More wrote:
>>
>>> On Fri, Oct 29, 2010 at 6:13 AM, dan<glimp@live.com> =C2=A0wrote:
>>>
>>> =C2=A0Thank you for your research and prompt response. The module was
>>>> available.
>>>> I tried both: kldload in command line and adding it in loader.conf.
>>>>
>>>> Note. In case the module has not been been loaded,as a user, here, one
>>>> gets
>>>> 2 messages
>>>> "mount_msdosfs: cannot find or load msdosfs_iconv kernel module"
>>>> AND
>>>>
>>>> "mount_msdosfs: msdosfs_iconv: Operation not permitted"
>>>>
>>>> I wonder what Operation is not permitted as a user and what rights the
>>>> user
>>>> needs.
>>>>
>>>
>>>
>>> sysctl vfs.usermount=3D1
>>>
>>> Although it doesn't seem correct that you can mount that FS if it's
>>> already
>>> been mounted previously by root when that sysctl is at 0.
>>>
>>>
>> Hello
>>
>> vfs.usermount is already set. In fact, I can readily mount the filesyste=
m
>> if I do not specify "-L ...".
>>
>> I did mount and then soon unmount the filesystem as root with "-L ...".
>
>
> I see now. =C2=A0The loading of the kernel module is not permitted as I t=
hink the
> mount command attempts to load it if necessary. =C2=A0I'm not aware of an=
y method
> of granting access to user which would allow them to load/unload kernel
> modules. =C2=A0Only root level privs can do that.
>
>
> --
> Adam Vande More
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>

I have the same trouble, I usually mount device by user with
vfs.usermount=3D1 but for libiconv I need root...

--
Demelier David



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