From owner-freebsd-questions@FreeBSD.ORG Mon Feb 19 20:37:15 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 38EF616D20E for ; Mon, 19 Feb 2007 20:37:15 +0000 (UTC) (envelope-from lysergius2001@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id E9A3A13C491 for ; Mon, 19 Feb 2007 20:37:14 +0000 (UTC) (envelope-from lysergius2001@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2066133wxc for ; Mon, 19 Feb 2007 12:37:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=k8S1634S+T//BHS9qo8ljmZY2/mwsu2jQDihrexZKFSpapTqsP0qqBBQrLsMkJQkdoJ1LQMepAkc+FaLZtYnG4TnFOrYt+nNXdy+1zUyxE1QHaKmYRIRomG7UX2qsVfvBlsEXpQ8V7097l37kJhBi3JWYHVMG28RBih9HYzd26Q= Received: by 10.90.96.20 with SMTP id t20mr7711092agb.1171917434335; Mon, 19 Feb 2007 12:37:14 -0800 (PST) Received: by 10.66.238.6 with HTTP; Mon, 19 Feb 2007 12:37:14 -0800 (PST) Message-ID: Date: Mon, 19 Feb 2007 20:37:14 +0000 From: lysergius2001 To: freebsd-questions@freebsd.org, lysergius2001@gmail.com In-Reply-To: <200702191338.l1JDctT0057776@lurza.secnetix.de> MIME-Version: 1.0 References: <200702191338.l1JDctT0057776@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 20:37:15 -0000 Thanks everyone. On 2/19/07, Oliver Fromme wrote: > > 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=3D1 > > -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=E4ftsfuehrun= g: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M=FC= n- > chen, HRB 125758, Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf Geb= hart > 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. > --=20 Lysergius says, "Stay light, but trust gravity"