[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount floppy



doesn't quite solve Tom's problem.
see below.

On Tue, 18 Dec 2001, Tuukka Toivonen wrote:

> On Tue, 18 Dec 2001, Tom Allison wrote:
>
> >I'm running into a rights issue with mounting floppies as a non-root user.
> >
> >bash-2.05a$ ls -l /dev/fd0 && ls -l / | grep floppy && grep fd0 /etc/fstab
> >brwxrwx---    1 root     floppy     2,   0 Jul 23 21:46 /dev/fd0
> >drwxrwxr-x    2 root     root         4096 Nov 30  2000 floppy


> >/dev/fd0        /floppy         auto    user                    0      0

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> >
> >I am a member of group floppy.
>
> With the rights shown as above, you have direct access rights to the floppy
> device and you could use mtools (mcopy, mdir, etc.) to access the floppy.
> However, mount does not care this, because in that case the reader will
> always be kernel filesystem driver, which always has rights to any device.
>
> What mount cares about, is if you have permission to _mount_ the floppy.
> Mount permissions are described in /etc/fstab, so this is the file you

so that's exactly what he did in his fstab and what you suggested below.
Still if it doesn't work, what's wrong?

> particular case, /etc/fstab should include line like
>
> /dev/fd0                /floppy             auto    noauto,user    0 0
>

had the same problem, would be interested to know, but can't re-make my
problem now.
Thanks, tobias.



Reply to: