only root can write to floppy
Can anyone help us here? I want to be able to write to a floppy disk as a user. Using the floppy icon under ~/my computer results in: cannot enter folder /media/floppy Thanks, Steve 9.1
On Friday 13 August 2004 11:29, steve-ss wrote:
Can anyone help us here? I want to be able to write to a floppy disk as a user. Using the floppy icon under ~/my computer results in: cannot enter folder /media/floppy Look in /etc/fstab an find out which device it does point to.
most likely it is /dev/fd0 look at the device. On one of my systems (SLES9) it is: earth:~ # l /dev/fd0 brw-rw---- 1 root disk 2, 0 Jun 16 15:40 /dev/fd0 earth:~ # there you can see that you have to be member of the disk group to enter it. You might have another problem, but it is worth to check out... regards Jonas -- Jonas Helgi Palsson IT-Konsulent, Bergen kommune tlf: 5556 9810 / 950 44 932 "Því jú engum manni eru guðirnir svo grimmir, að gera hann fullkominn"
steve-ss writes:
Can anyone help us here? I want to be able to write to a floppy disk as a user. Using the floppy icon under ~/my computer results in: cannot enter folder /media/floppy
Check to make sure that your /etc/fstab file entry for the floppy drive looks like this: /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 In particular, the procuid option will ensure that when you enter the /media/floppy directory, the filesystem on the floppy gets mounted with your ownership permissions. If you make a change to this entry in /etc/fstab, you need to unmount and remount it once as root in order for the change to take effect: root$ umount /media/floppy root$ mount /media/floppy -Ti
On Friday 13 August 2004 13:24, Ti Kan wrote:
steve-ss writes:
Can anyone help us here? I want to be able to write to a floppy disk as a user. Using the floppy icon under ~/my computer results in: cannot enter folder /media/floppy
Check to make sure that your /etc/fstab file entry for the floppy drive looks like this:
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
In particular, the procuid option will ensure that when you enter the /media/floppy directory, the filesystem on the floppy gets mounted with your ownership permissions.
If you make a change to this entry in /etc/fstab, you need to unmount and remount it once as root in order for the change to take effect:
root$ umount /media/floppy root$ mount /media/floppy
-Ti
Thanks. worked a treat. cheers, Steve.
Steve, On Friday 13 August 2004 02:29, steve-ss wrote:
Can anyone help us here? I want to be able to write to a floppy disk as a user. Using the floppy icon under ~/my computer results in:
cannot enter folder /media/floppy
Does this diagnostic occur immediately, or is there a delay? If it's the former, it could be a permissions problem or the device may not be mounted. Other replies have addressed these possibilities. If the diagnostic takes a few seconds to appear, it's probably just that the diskette is not formatted or does not contain a file system of an acceptable type. To format from the comand line, use "fdformat" ("man 8 fdformat" for details). Fdformat will only do a low-level format, it will not create a file system. For that, use "mkfs" ("man 8 mkfs" for some of the gory details and one or more of the file system-specific file system formatters listed at the bottom of the page for further, gorier details). There's also something called "gfloppy" that will appear relatively familiar to Windows users. It gives pop-ups, text fields and radio buttons that control the details of common diskette formatting options. Gfloppy is supplied by the "gnome-utils" package, in case it's not currently installed on your system.
Thanks, Steve
9.1
Randall Schulz
participants (4)
-
Jonas Helgi Palsson
-
Randall R Schulz
-
steve-ss
-
ti@amb.org