Date: Thu, 18 Oct 2007 17:17:39 +0300 From: Krassimir Slavchev <krassi@bulinfo.net> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: Mounting smbfs as user? Message-ID: <47176B03.1050402@bulinfo.net> In-Reply-To: <ff7pag$k2g$1@ger.gmane.org> References: <ff7pag$k2g$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47176B03.1050402>