From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 7 21:00:46 2005 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 8EE9116A59F for ; Fri, 7 Jan 2005 21:00:46 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5719C43D48 for ; Fri, 7 Jan 2005 21:00:46 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j07L0k58093480 for ; Fri, 7 Jan 2005 21:00:46 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j07L0kJ8093479; Fri, 7 Jan 2005 21:00:46 GMT (envelope-from gnats) Resent-Date: Fri, 7 Jan 2005 21:00:46 GMT Resent-Message-Id: <200501072100.j07L0kJ8093479@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, "Frank J. Beckmann" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F55116A4CE for ; Fri, 7 Jan 2005 20:55:32 +0000 (GMT) Received: from mail.agala.net (Iab6f.i.pppool.de [85.73.171.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 811F243D39 for ; Fri, 7 Jan 2005 20:55:30 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from kairo.agala.net (mail.agala.net [192.168.20.1]) by mail.agala.net (8.13.1/8.13.1) with ESMTP id j07KqZgb017870 for ; Fri, 7 Jan 2005 21:52:35 +0100 (CET) (envelope-from frank@kairo.agala.net) Received: (from frank@localhost) by kairo.agala.net (8.13.1/8.13.1/Submit) id j07KqYMi017869; Fri, 7 Jan 2005 21:52:34 +0100 (CET) (envelope-from frank) Message-Id: <200501072052.j07KqYMi017869@kairo.agala.net> Date: Fri, 7 Jan 2005 21:52:34 +0100 (CET) From: "Frank J. Beckmann" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/75930: Usermount changes owner of mount point to root:wheel X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Frank J. Beckmann" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 21:00:46 -0000 >Number: 75930 >Category: bin >Synopsis: Usermount changes owner of mount point to root:wheel >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: Fri Jan 07 21:00:44 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Frank J. Beckmann >Release: FreeBSD 5.3-STABLE i386 >Organization: Agala Naga Doron >Environment: System: FreeBSD kairo.agala.net 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Dec 8 19:21:37 CET 2004 root@kairo.agala.net:/usr/obj/usr/src/sys/KAIRO i386 >Description: When a non root user mounts a filesytem, the filesystem becomes owned be root:wheel. That ist anoying because the user can not create objects in the root of the newly mounted media (removable disks etc). >How-To-Repeat: Allow non root users to mount filesystems (sysctl vfs.usermount=1). As an non root user create a directory in your home directory. Now mount a filesystem (e.g. CD-ROM or a removable disk) to that newly createt directory. That directory is now owned by root:wheel until you unmount the filesystem. >Fix: >Release-Note: >Audit-Trail: >Unformatted: