From owner-freebsd-questions Wed May 5 10:35:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb1-a.mail.utexas.edu [128.83.126.134]) by hub.freebsd.org (Postfix) with SMTP id D511114D18 for ; Wed, 5 May 1999 10:35:03 -0700 (PDT) (envelope-from kevin.weiss@mail.utexas.edu) Received: (qmail 24683 invoked by uid 0); 5 May 1999 17:35:02 -0000 Received: from ens317-31.ece.utexas.edu (HELO ens317-31) (146.6.101.81) by umbs-smtp-1 with SMTP; 5 May 1999 17:35:02 -0000 X-Sender: kevin.weiss@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Date: Wed, 05 May 1999 12:33:42 -0500 To: David Abdemoulaie From: Kevin Weiss Subject: Re: Trouble writing to a mounted DOS floppy Cc: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <19990505173507.D511114D18@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:56 PM 5/5/99 -0400, you wrote: >Hi, I mounted a DOS formatted floppy using the command "/sbin/mount -t msdos /dev/fd0 /floppy" > >I then tried to copy several files onto the floppy using "cp blah.c /floppy", every time I try > >to write to teh floppy I get the following error message "cp: /floppy/blah.c: Permission denied" > >I even unmounted and remounted the drive with the -w option to ensure that it was read/write. > >Any help on this matter would be appreciated. > What is your fstab entry for you floppy? Mine is /dev/fd0 /mnt/floppy msdos rw,auto 0 0 I might have forgotten something, but I'm not at home looking at my fstab. Anyway, after that, I can just type "mount /mnt/floppy" and "umount /mnt/floppy". Make sure you make the "floppy" directory in the /mnt dir, and make sure to su the root to mount the device, or else you'll get "permission denied" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message