Re: Changing floppy0 ownership
I originally groaned:
> I use the following line in my fstab file:
> > /dev/fd0 /media/floppy0 msdos rw,user,noauto 0 0
>
> Then (as george) I mount the floppy disk thusly:
> > sudo mount -t msdos -o owner /dev/fd0 /media/floppy0
>
> But when I attempt to write to the floppy, it turns out to be write-
> protected. ... snippage ...
> Is this what I should be doing to mount the floppy ?
> > sudo mount -t msdos -o george /dev/fd0 /media/floppy0
To which Florian helpfully noted:
> You probably forgot to add your user to the "floppy" group. Users in
> that group should have read/write access to the device; the "user"
> option in your fstab should make it possible to mount without using
> sudo. If that does not work you should check the permissions of the
> device:
> $ ls -l /dev/fd0
> brw-rw---- 1 root floppy 2, 0 2006-05-18 17:18 /dev/fd0
>
That's exactly what I get:
> ls -l /dev/fd0
> brw-rw---- 1 root floppy 2, 0 2006-06-02 12:01 /dev/fd0
Nevertheless, I scampered over to:
http://www.debian-administration.org/articles/109
And attempted to make appropriate corrections, but I soon discovered
that george is already a member of the floppy (and sudo, cdrom but
not fax) groups. Problemo non solvus ...
Don't give up yet - the weekend is still young.
Should I be checking the BIOS settings ? I've never encountered a
"read-only" setting there ...
George Langford
Reply to: