Bug#417165: nautilus: error writing to floppy

Brent S. Elmer, Ph.D. webe3 at myrealbox.com
Sun Apr 8 21:42:58 UTC 2007


On Sat, 2007-04-07 at 23:40 +0200, Sven Arvidsson wrote:
> tags 417165 +unreproducible
> thanks
> 
> On Sun, 2007-04-01 at 13:06 -0500, The Elmers wrote:
> > When I click on the Nautilus computer icon and mount and open the floppy
> > device,
> > the Nautilus window opens and I can see the files on the floppy.  When I
> > try to copy to the floppy,
> > I get the following error:
> > Error while copying to "/media/floppy"
> > You do not have permissions to write to
> > this folder.
> > 
> > I am in the floppy group.  The /etc/fstab entry is as follows:
> > /dev/fd0        /media/floppy   auto    rw,user,noauto  0       0
> > 
> > I can write to the floppy when I mount as root like this
> > mount -t vfat /dev/fd0 /media/floppy
> > cp file /media/floppy
> > 
> > I can also write to the floppy from my own user ID when I use pmount
> > like this:
> > pmount /dev/fd0 floppy
> > cp file /media/floppy
> > 
> > my user ID is in the plugdev group
> 
> I'm afraid I can't reproduce this. 
> 
> Can you write to the floppy if you remove the line from fstab and try to
> access the floppy from Nautilus?

No.  Same error message.  When I remove floppy from fstab it mounts
to /media/usbdisk as shown from the mount.

/dev/hda2 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hdb1 on /home type ext3 (rw)
/dev/hda3 on /tmp type ext3 (rw)
/dev/hdb2 on /usr type ext3 (rw)
/dev/hda5 on /var type ext3 (rw)
/dev/hda6 on /var/log type ext3 (rw)
/dev/hda1 on /windows type vfat (rw)
automount(pid4154) on /var/autofs/removable type autofs
(rw,fd=4,pgrp=4154,minproto=2,maxproto=4)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/fd0 on /media/usbdisk type vfat
(rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)

> 
> What are the permissions on /media/floppy before and after you mount the
> floppy? You can use "ls -ld /etc/floppy" from a terminal. It would also
> be helpful if you could paste the output of "mount" when you fail to
> write to the floppy.
> 
I put floppy back in fstab so that it mounts to /media/floppy again

before mounting:

drwxr-xr-x 2 root root 1024 2004-11-25 04:06 /media/floppy

after mounting:

drwxr-xr-x 2 brent brent 7168 1969-12-31 19:00 /media/floppy

result of mount:

/dev/hda2 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hdb1 on /home type ext3 (rw)
/dev/hda3 on /tmp type ext3 (rw)
/dev/hdb2 on /usr type ext3 (rw)
/dev/hda5 on /var type ext3 (rw)
/dev/hda6 on /var/log type ext3 (rw)
/dev/hda1 on /windows type vfat (rw)
automount(pid4145) on /var/autofs/removable type autofs
(rw,fd=4,pgrp=4145,minproto=2,maxproto=4)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/fd0 on /media/floppy type vfat (rw,noexec,nosuid,nodev,user=brent)

> Also, do you know what filesystem is on the floppy?
> 
vfat

> I'm guessing this is more of a configuration issue than a bug, so you
> might also try asking for help on one of the users mailing lists.
> 

When googling for this, I saw several references to people being unable
to write to floppy.  This used to work, I'm not sure when it started
failing.






More information about the pkg-gnome-maintainers mailing list