Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 13:00:33 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Mounting smbfs as user?
Message-ID:  <47188041.2040405@icyb.net.ua>
In-Reply-To: <1192728219.00816060.1192717802@10.7.7.3>
References:  <1192728201.00816051.1192716602@10.7.7.3> <1192728215.00816057.1192717201@10.7.7.3> <1192728219.00816060.1192717802@10.7.7.3>

next in thread | previous in thread | raw e-mail | index | archive | help
on 18/10/2007 17:29 Ivan Voras said the following:
> Krassimir Slavchev wrote:
>> Hi,
>>
>> Ivan Voras wrote:
> 
> 
>>> The same command works under root, and the appropriate klds are loaded:
>> Only superuser can load modules. If you try to load module by regular
>> user you will get: kldload: can't load xxxx.ko: Operation not permitted
> 
> 
> To clarify: the modules were loaded before I tried either as user or as
> root.
>

This doesn't seem to be entirely smbfs-specific, but rather specific to
internal workings of iconv modules. Here's some information from a while
ago:
http://lists.freebsd.org/pipermail/freebsd-stable/2006-December/031501.html

I didn't get any useful information since then and still have to use a
workaround of doing any mount as root to get iconv initialized first and
then all subsequent user mounts are successful.
While on one hand this seems like only a minor annoyance, on the other
hand it indicates a problem in iconv internal workings and this should
be considered a bug as this breaks a user-mount feature.

Probably a PR is due here, I was just too lazy to open it when I first
hit the problem.

-- 
Andriy Gapon



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