Mounting smbfs as user?

Ivan Voras ivoras at freebsd.org
Thu Oct 18 07:07:23 PDT 2007


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



More information about the freebsd-stable mailing list