Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Floppy disk access as a regular user?



First, set the permissions on /dev/fd0 to 0666:
brw-rw-rw-   1 root     disk       2,   0 Jul 22 19:04 /dev/fd0
Now, any user can read from and write to the floppy disk using the mtools 
commands:
gaf at gaf:~ > mcopy foo.c a:
gaf at gaf:~ > mdir a:
 Volume in drive A has no label
 Volume Serial Number is 73D1-6920
Directory for A:/

foo      c         130 11-18-1999  20:42
        1 file                  130 bytes
                          1 457 152 bytes free

gaf at gaf:~ > tar cvf /dev/fd0 foo.c
foo.c

One thing you cannot do is to mount the device. Only root can mount the 
device.

You can format the floppy: mformat a:

With mtools, a: is /dev/fd0.
"Kevin M. Gleason" wrote:
> Can anyone give me explicit steps to give users access to the floppy
> drive. I'm running Red Hat 6.1 and tried assigning each user (Guest
> user) to group Floppy but that doesn't do it.
> Thanks for your help!

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org