From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 17 16:30:14 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 229A716A4CE for ; Sat, 17 Jan 2004 16:30:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 048CC43D5D for ; Sat, 17 Jan 2004 16:30:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0I0UBFR058708 for ; Sat, 17 Jan 2004 16:30:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0I0UBUa058707; Sat, 17 Jan 2004 16:30:11 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 17 Jan 2004 16:30:11 -0800 (PST) Resent-Message-Id: <200401180030.i0I0UBUa058707@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Robbins Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C84A16A4CE for ; Sat, 17 Jan 2004 16:27:39 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA6F043D31 for ; Sat, 17 Jan 2004 16:27:37 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.219.184) by smtp01.syd.iprimus.net.au (7.0.020) id 3F8B009E021CAC2F for FreeBSD-gnats-submit@freebsd.org; Sun, 18 Jan 2004 11:27:37 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 6DD0A4155; Sun, 18 Jan 2004 11:28:36 +1100 (EST) Message-Id: <20040118002836.6DD0A4155@robbins.dropbear.id.au> Date: Sun, 18 Jan 2004 11:28:36 +1100 (EST) From: Tim Robbins To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/61503: mount_smbfs does not work as non-root X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tim Robbins List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 00:30:14 -0000 >Number: 61503 >Category: kern >Synopsis: mount_smbfs does not work as non-root >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 17 16:30:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Tim Robbins >Release: FreeBSD 5.2-tjr i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD 5.2-tjr #0: Sun Jan 11 02:02:23 EST 2004 >Description: mount_smbfs does not work as a non-root user when vfs.usermount is set to 1; it fails with "Operation not permitted" when trying to install a kernel iconv table. >How-To-Repeat: sysctl vfs.usermount=1 mount_smbfs //user@server/share /mnt/share >Fix: Not known. Perhaps mount_smbfs could check whether the iconv table already exists and avoid trying to load it. This would avoid the problem in the common case where the table is already loaded. >Release-Note: >Audit-Trail: >Unformatted: