From owner-freebsd-questions Sun Nov 9 16:07:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA16639 for questions-outgoing; Sun, 9 Nov 1997 16:07:29 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA16631 for ; Sun, 9 Nov 1997 16:07:24 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.5/8.8.5) with SMTP id SAA05769; Sun, 9 Nov 1997 18:07:19 -0600 (CST) Date: Sun, 9 Nov 1997 18:07:18 -0600 (CST) From: "Matthew D. Fuller" To: Rich Winkel cc: freebsd-questions@FreeBSD.ORG Subject: Re: Permissions problem mounting floppy In-Reply-To: <199711091541.JAA26071@chumbly.math.missouri.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 9 Nov 1997, Rich Winkel wrote: > I should also mention that mount_msdos is setuid to root. > > According to Rich Winkel: > > I'm running 2.2.5-STABLE. > > I can only mount floppies as root. As a regular user, I get: > > katy> mount_msdos /dev/fd0 /fd > > mount_msdos: /dev/fd0: Permission denied > > > > Here's my setup: > > ls -ld /fd > > drwxrwxrwx 2 root wheel 512 Jun 21 19:09 /fd/ > > > > ls -l /dev/fd0* > > brw-rw-rw- 9 root operator 2, 0 Jun 21 13:51 /dev/fd0 > > brw-rw-rw- 1 root operator 2, 4 Jun 21 13:51 /dev/fd0.1200 > > brw-rw-rw- 1 root operator 2, 3 Jun 21 13:51 /dev/fd0.1440 Ah ha. I think you need to specify the minor number. If it's a 3.5" drive, try this: mount_msdos /dev/fd0.1440 /fd If it's 5.25", mount_msdos /dev/fd0.1200 /fd Give that a whirl. > > > > What's going on???? > > > > Thanks for any help!!! > > > > Rich > > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*