vfs.usermount not working anymore on SMB shares?

Kirill Pisman kpisman at sw-soft.com
Mon Jun 21 05:40:55 GMT 2004


> $ mount_smbfs //LESHA at ROUTER/USB /home/lesha/samba
> mount_smbfs: can not setup kernel iconv table (default:tolower): syserr = 
> Operation not permitted
> $ sysctl vfs.usermount
> vfs.usermount: 1
> 
> 
> Any ideas?

Make mount not try to modify kernel structures. Make some defaults setup
for smbfs with root priviligies (mount something before mounting that
share). Or make the same with sudo.

PS I don't think that usermount is something really useful, it looks
much more like one big security hole.

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?=
	=?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?=
	=?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?=
	=?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?=
	=?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040621/94660129/attachment.bin


More information about the freebsd-current mailing list