From owner-freebsd-questions@FreeBSD.ORG Mon Feb 19 13:39:02 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0D4916A400 for ; Mon, 19 Feb 2007 13:39:02 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4831E13C474 for ; Mon, 19 Feb 2007 13:39:02 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (bmtuhk@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l1JDctZU057777; Mon, 19 Feb 2007 14:39:00 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l1JDctT0057776; Mon, 19 Feb 2007 14:38:55 +0100 (CET) (envelope-from olli) Date: Mon, 19 Feb 2007 14:38:55 +0100 (CET) Message-Id: <200702191338.l1JDctT0057776@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, lysergius2001@gmail.com In-Reply-To: X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 19 Feb 2007 14:39:01 +0100 (CET) Cc: Subject: Re: "Operation not permitted" when mounting floppy or cdrom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, lysergius2001@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 13:39:02 -0000 lysergius2001 wrote: > FreeBSD 6.2. Recently installed will not permit user mount of floppy disk, > cdrom, or usb. Works fine as root. Checked devfs.conf, devfs.rules, fstab, > /dev. Nothing seems to make a difference. For ordinary users to be able to mount file systems, three conditions have to be met: -1- sysctl vfs.usermount=1 -2- The user must have read+write access to the device to be mounted. Usually you will solve that via group permissions, e.g. create a group for people who are allowed to mount a certain device, then put those people into that group (via /etc/group), and change the permission modes of the device so that the group can read+write it. -3- The user must own the mount point. Note that read+ write access is not sufficient here, and group rights don't matter -- the user must be the owner of the mount point. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C is quirky, flawed, and an enormous success." -- Dennis M. Ritchie.