From owner-freebsd-stable@FreeBSD.ORG Fri Oct 19 10:00:44 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B3EE16A41B; Fri, 19 Oct 2007 10:00:44 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 493E513C447; Fri, 19 Oct 2007 10:00:43 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id CBD9943C5ED; Fri, 19 Oct 2007 13:00:41 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z9Gg3a4QBfL4; Fri, 19 Oct 2007 13:00:41 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 6D5CE43C363; Fri, 19 Oct 2007 13:00:41 +0300 (EEST) Message-ID: <47188041.2040405@icyb.net.ua> Date: Fri, 19 Oct 2007 13:00:33 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: Ivan Voras References: <1192728201.00816051.1192716602@10.7.7.3> <1192728215.00816057.1192717201@10.7.7.3> <1192728219.00816060.1192717802@10.7.7.3> In-Reply-To: <1192728219.00816060.1192717802@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Mounting smbfs as user? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 10:00:44 -0000 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