On Wed, 2006-Dec-20 00:50:15 +0100, Juraj Lutter wrote: >On 12/20/06, martinko <[EMAIL PROTECTED]> wrote: >>>> I've looked through iconv_sysctl_add() and can't see any way for the >>>> code to return EPERM. >>I've been experiencing the exactly same issue for too long, too. :-(( >> > >Load the iconv modules as root before letting users to mount.
This doesn't work because it always invokes the sysctl - which sees that it's non-root and returns EPERM before it discovers that the the requested maps are already installed. mount_smbfs is setuid root on Apple (presumably OS-X) and juggles euid to avoid this and similar problems. I think the solution is to make it (at least optionally) setuid on FreeBSD. I have this on my todo list but haven't gotten around to it yet. -- Peter Jeremy
pgpYpqqilDYW5.pgp
Description: PGP signature
