mount_msdosfs -L ... [odd behaviour ?]
David DEMELIER
demelier.david at gmail.com
Fri Oct 29 18:06:01 UTC 2010
2010/10/29 Adam Vande More <amvandemore at gmail.com>:
> On Fri, Oct 29, 2010 at 7:53 AM, dan <glimp at live.com> wrote:
>
>> On 10/29/10 13:22, Adam Vande More wrote:
>>
>>> On Fri, Oct 29, 2010 at 6:13 AM, dan<glimp at live.com> wrote:
>>>
>>> Thank 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=1
>>>
>>> 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 filesystem
>> if I do not specify "-L ...".
>>
>> I did mount and then soon unmount the filesystem as root with "-L ...".
>
>
> I see now. The loading of the kernel module is not permitted as I think the
> mount command attempts to load it if necessary. I'm not aware of any method
> of granting access to user which would allow them to load/unload kernel
> modules. Only root level privs can do that.
>
>
> --
> Adam Vande More
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
I have the same trouble, I usually mount device by user with
vfs.usermount=1 but for libiconv I need root...
--
Demelier David
More information about the freebsd-questions
mailing list