From owner-freebsd-stable@FreeBSD.ORG Thu Oct 18 14:17:45 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 B9A7316A417 for ; Thu, 18 Oct 2007 14:17:45 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 6E55413C448 for ; Thu, 18 Oct 2007 14:17:45 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id AC7D063C0E; Thu, 18 Oct 2007 17:17:43 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 91757-07; Thu, 18 Oct 2007 17:17:43 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id DF40663BF1; Thu, 18 Oct 2007 17:17:42 +0300 (EEST) Message-ID: <47176B03.1050402@bulinfo.net> Date: Thu, 18 Oct 2007 17:17:39 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.6 (X11/20070927) MIME-Version: 1.0 To: Ivan Voras References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net 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: Thu, 18 Oct 2007 14:17:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Ivan Voras wrote: > Hi, > > I'm trying to implement smbfs mounting by regular non-root users and I > can't make any progress. vfs.usermount is set to 1. > > When I try mounting a remote file system, this is what I get: > >> mount_smbfs -I server //user@server/pre mt > Warning: no cfg file(s) found. > mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower): > syserr = Operation not permitted > > 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 > >> kldstat > Id Refs Address Size Name > 1 15 0xc0400000 6d599c kernel > 2 1 0xc0ad6000 169fc geom_raid3.ko > 3 1 0xc0aed000 2464 accf_http.ko > 4 1 0xc0af0000 653f4 acpi.ko > 5 1 0xc0b56000 972c dummynet.ko > 6 1 0xc0b60000 23c64 smbfs.ko > 7 3 0xc0b84000 49f4 libiconv.ko > 8 3 0xc0b89000 2c2c libmchain.ko > 9 1 0xc5107000 4000 nullfs.ko > 10 1 0xc5165000 1a000 linux.ko > > Any ideas? > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHF2sDxJBWvpalMpkRAkoDAJ4vnIc8qx7cxdtBvirv/5y5E+UTPwCfTIlG oYuiOLhWpiX198tgfOSBrsE= =uth8 -----END PGP SIGNATURE-----