From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 11:00:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFBD837B401 for ; Tue, 15 Apr 2003 11:00:40 -0700 (PDT) Received: from joloxbox.joshualokken.com (12-225-249-250.client.attbi.com [12.225.249.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD63943FBD for ; Tue, 15 Apr 2003 11:00:39 -0700 (PDT) (envelope-from jolok@joshualokken.com) Received: from joloxbox.joshualokken.com (localhost.joshualokken.com [127.0.0.1])h3FI1EaW072612; Tue, 15 Apr 2003 11:01:14 -0700 (PDT) (envelope-from jolok@joshualokken.com) Received: (from jolok@localhost) by joloxbox.joshualokken.com (8.12.9/8.12.9/Submit) id h3FI1D83072611; Tue, 15 Apr 2003 11:01:13 -0700 (PDT) Date: Tue, 15 Apr 2003 11:01:13 -0700 From: Joshua Lokken To: CARTER Anthony Message-ID: <20030415180113.GA72565@joloxbox.joshualokken.com> References: <200304141536.05035.a.carter@intrasoft.lu> <200304150900.59043.epbox@yandex.ru> <200304151058.41895.epbox@yandex.ru> <200304150931.24484.a.carter@intrasoft.lu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304150931.24484.a.carter@intrasoft.lu> User-Agent: Mutt/1.4i Organization: little to none X-OS: FreeBSD joloxbox.joshualokken.com 4.8-STABLE i386 cc: epbox@yandex.ru cc: freebsd-questions@freebsd.org Subject: Re: /dev/... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 18:00:41 -0000 * CARTER Anthony (a.carter@cordis.lu) wrote: ==> You have to be owner (not group owner) of the mount point from what I can work ==> out. ==> ==> Anthony ==> ==> On Tuesday 15 April 2003 08:58, Vladik Kozin wrote: ==> > > Hi! What if I'd like ordinary users to be able to mount /dev/fd0, for ==> > > instance, onto a common dir located in /mnt (/mnt/floppy)? ==> > > I made mkdir -m 755 /mnt/floppy as root. When I try to mount fd0 onto ==> > > this dir as an ordinary user I get "msdos: /dev/fd0: Operation not ==> > > permitted" while when doing the same onto a dir that this user owns ==> > > everything goes fine. _______________________________________________ ==> > ==> > Of course I checked the FAQ & did everything as said there. Specifically: ==> > #su ==> > # sysctl -w vfs.usermount=1 ==> > # chmod 666 /dev/fd0 ==> > #mkdir -m 755 /mnt/floppy ==> > bash$ mount -t msdos /dev/fd0 /mnt/floppy mount: vfsload(msdos): Operation not permitted OK, we've seen the faq section on this, and two clear, plain examples of the exact procedure there not working properly. Does anyone have any new, not rehashed, ideas of why this is? Thanks. -- Joshua