From owner-freebsd-newbies@FreeBSD.ORG Mon Apr 14 23:58:30 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3A2C37B401 for ; Mon, 14 Apr 2003 23:58:30 -0700 (PDT) Received: from thong.s2s.msu.ru (thong.s2s.msu.ru [193.232.119.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AB7443F3F for ; Mon, 14 Apr 2003 23:58:30 -0700 (PDT) (envelope-from epbox@yandex.ru) Received: from hq.sectorb.msk.ru (petaflop.lcm.msu.ru [193.232.113.220]) by thong.s2s.msu.ru (Postfix) with ESMTP id 8890346224 for ; Tue, 15 Apr 2003 10:58:29 +0400 (MSD) Received: from vlad.local (vlad.local [172.16.8.9]) by hq.sectorb.msk.ru (Postfix) with ESMTP id 6C3A91326B for ; Tue, 15 Apr 2003 10:58:29 +0400 (MSD) Content-Type: text/plain; charset="koi8-r" From: Vladik Kozin To: freebsd-newbies@FreeBSD.org Date: Tue, 15 Apr 2003 10:58:41 +0400 User-Agent: KMail/1.4.3 References: <200304141536.05035.a.carter@intrasoft.lu> <200304141104.52180.DavidJohnson@Siemens.com> <200304150900.59043.epbox@yandex.ru> In-Reply-To: <200304150900.59043.epbox@yandex.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304151058.41895.epbox@yandex.ru> Subject: Re: /dev/... X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: epbox@yandex.ru List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 06:58:31 -0000 > 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 t= his > 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 goe= s > fine. _______________________________________________ Of course I checked the FAQ & did everything as said there. Specifically: #su # sysctl -w vfs.usermount=3D1 # chmod 666 /dev/fd0 #mkdir -m 755 /mnt/floppy bash$ mount -t msdos /dev/fd0 /mnt/floppy