mounting floppy in read/write mode by user

Mike McCarty mike.mccarty at sbcglobal.net
Tue Sep 20 16:45:59 UTC 2005


Deepak Shrestha wrote:
> Hi,
> 
> In my FC4, I have made a link to floppy device (KDE)
> but coundn't mount it (in user mode). when I try to
> mount the floppy, KDE ends up with error
> 
> -------------------------
> Could not mount device
> 
> The reported error was
> 
> mount: I couln't determine the the filesystem type,
> and none was specified
> -------------------------
> 
> but if i mount it from command line in su mode its
> fine. it seems like users are not permitted. how do I
> make the users be able to mount the flopy in
> read/write mode?
> 
> my fstab looks like this
> ------
> /dev/fd0                /media/floppy           auto  
>  pamconsole,exec,noauto,managed 0 0
> /dev/hdd                /media/cdrecorder       auto  
>  pamconsole,exec,noauto,managed 0 0
> ---------
> 
> I wonder why my cdwriter is working perfectly in user
> mode. It can burn CDs without any error.

The burner program probably runs suid root.

> 
> Any Suggestion?

Try editing /etc/fstab (as root) to have ",user" after
",managed"

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the users mailing list