Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 20:37:14 +0000
From:      lysergius2001 <lysergius2001@gmail.com>
To:        freebsd-questions@freebsd.org, lysergius2001@gmail.com
Subject:   Re: "Operation not permitted" when mounting floppy or cdrom
Message-ID:  <a558ebe30702191237w73a256e5j66bb756b10ed7321@mail.gmail.com>
In-Reply-To: <200702191338.l1JDctT0057776@lurza.secnetix.de>
References:  <a558ebe30702171211r749f2e8cv7869b8d1501cf58b@mail.gmail.com> <200702191338.l1JDctT0057776@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks everyone.

On 2/19/07, Oliver Fromme <olli@lurza.secnetix.de> wrote:
>
> lysergius2001 <lysergius2001@gmail.com> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a558ebe30702191237w73a256e5j66bb756b10ed7321>