[Bug 7981] nautilus does not warn when copying files to read only usb flash drive

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Thu Sep 29 15:53:51 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=7981
Ubuntu | linux





------- Additional Comments From samtygier at yahoo.co.uk  2005-09-29 16:53 UTC -------
i have tested use the breezy preview live cd and the symptoms persist (i could
try colony 5 next week)
ubuntu at ubuntu:~$ uname -a
Linux ubuntu 2.6.12-8-powerpc #1 Tue Aug 30 23:03:49 BST 2005 ppc GNU/Linux

dmesg in plugging the device with it set to ro

[ 1532.259790] usb 2-1: new full speed USB device using ohci_hcd and address 6
[ 1532.370080] scsi5 : SCSI emulation for USB Mass Storage devices
[ 1532.373879] usb-storage: device found at 6
[ 1532.373891] usb-storage: waiting for device to settle before scanning
[ 1537.377862]   Vendor: Generic   Model: Flash Disk        Rev: 7.77
[ 1537.377894]   Type:   Direct-Access                      ANSI SCSI revision: 02
[ 1537.390635] SCSI device sdb: 256000 512-byte hdwr sectors (131 MB)
[ 1537.390651] sdb: assuming drive cache: write through
[ 1537.402840] SCSI device sdb: 256000 512-byte hdwr sectors (131 MB)
[ 1537.402854] sdb: assuming drive cache: write through
[ 1537.402867]  /dev/scsi/host5/bus0/target0/lun0: p1
[ 1537.415094] Attached scsi disk sdb at scsi5, channel 0, id 0, lun 0
[ 1537.419294] usb-storage: device scan complete
[ 1538.269583] FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!


and the output from mount

/dev/sdb1 on /media/usbdisk type vfat
(rw,noexec,nosuid,nodev,quiet,shortname=winnt,uid=1000,gid=1000,umask=077,iocharset=utf8)

and if i try to write a file

ubuntu at ubuntu:/media$ mkdir /media/usbdisk/foo
ubuntu at ubuntu:/media$ ls /media/usbdisk/
foo
ubuntu at ubuntu:/media$ sync
ubuntu at ubuntu:/media$ ls /media/usbdisk/

there is a big dump of stuff in dmesg after the sync command

[ 1728.841673] SCSI error : <5 0 0 0> return code = 0x8000002
[ 1728.841688] sdb: Current: sense key: Data Protect
[ 1728.841695]     Additional sense: Write protected
[ 1728.841712] Info fld=0x0
[ 1728.841717] end_request: I/O error, dev sdb, sector 64
[ 1728.841727] Buffer I/O error on device sdb1, logical block 1
[ 1728.841735] lost page write due to I/O error on sdb1
[ 1728.855674] SCSI error : <5 0 0 0> return code = 0x8000002
[ 1728.855688] sdb: Current: sense key: Data Protect
[ 1728.855695]     Additional sense: Write protected
[ 1728.855712] Info fld=0x0
[ 1728.855717] end_request: I/O error, dev sdb, sector 299
[ 1728.855728] Buffer I/O error on device sdb1, logical block 236
[ 1728.855735] lost page write due to I/O error on sdb1
[ 1728.869674] SCSI error : <5 0 0 0> return code = 0x8000002
[ 1728.869688] sdb: Current: sense key: Data Protect
[ 1728.869695]     Additional sense: Write protected
[ 1728.869711] Info fld=0x0
[ 1728.869717] end_request: I/O error, dev sdb, sector 534
[ 1728.869728] Buffer I/O error on device sdb1, logical block 471
[ 1728.869735] lost page write due to I/O error on sdb1
[ 1728.883689] SCSI error : <5 0 0 0> return code = 0x8000002
[ 1728.883703] sdb: Current: sense key: Data Protect
[ 1728.883710]     Additional sense: Write protected
[ 1728.883726] Info fld=0x0
[ 1728.883732] end_request: I/O error, dev sdb, sector 574
[ 1728.883743] Buffer I/O error on device sdb1, logical block 511
[ 1728.883750] lost page write due to I/O error on sdb1
[ 1728.897675] SCSI error : <5 0 0 0> return code = 0x8000002
[ 1728.897689] sdb: Current: sense key: Data Protect
[ 1728.897696]     Additional sense: Write protected
[ 1728.897713] Info fld=0x0
[ 1728.897718] end_request: I/O error, dev sdb, sector 575
[ 1728.897729] Buffer I/O error on device sdb1, logical block 512
[ 1728.897737] lost page write due to I/O error on sdb1
[ 1728.911675] SCSI error : <5 0 0 0> return code = 0x8000002
[ 1728.911690] sdb: Current: sense key: Data Protect
[ 1728.911697]     Additional sense: Write protected
[ 1728.911713] Info fld=0x0
[ 1728.911718] end_request: I/O error, dev sdb, sector 576
[ 1728.911730] Buffer I/O error on device sdb1, logical block 513
[ 1728.911737] lost page write due to I/O error on sdb1
[ 1728.925670] SCSI error : <5 0 0 0> return code = 0x8000002
[ 1728.925685] sdb: Current: sense key: Data Protect
[ 1728.925692]     Additional sense: Write protected
[ 1728.925708] Info fld=0x0
[ 1728.925713] end_request: I/O error, dev sdb, sector 577
[ 1728.925724] Buffer I/O error on device sdb1, logical block 514
[ 1728.925731] lost page write due to I/O error on sdb1



-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list