Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2007 16:08:09 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Mounting smbfs as user?
Message-ID:  <ff7pag$k2g$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
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:

> 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?




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