December 10, 2019, 02:08:06 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


USB Drives stuck with Read-only Permissions

Started by gnkchintu, March 02, 2014, 07:50:02 am

Previous topic - Next topic

gnkchintu

I am using Lubuntu Desktop version on Cubieboard 1. The USB Drive attached to it seems to stuck with Read-only permissions after using the system for few days. But from the system log it says  Write Protection is off. But Still it wont allow to write anything to the usb drive. Does anybody have any solutions to this problem.

sd 1:0:0:0: [sda] 15257600 512-byte logical blocks: (7.81 GB/7.27 GiB)
Jan  1 05:30:16 cubieboard kernel: [   22.302567] sd 1:0:0:0: [sda] Write Protect is off
Jan  1 05:30:16 cubieboard kernel: [   22.307584] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
Jan  1 05:30:16 cubieboard kernel: [   22.312732] sd 1:0:0:0: [sda] No Caching mode page found
Jan  1 05:30:16 cubieboard kernel: [   22.326848] sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan  1 05:30:16 cubieboard kernel: [   22.348132] sd 1:0:0:0: [sda] No Caching mode page found
Jan  1 05:30:16 cubieboard kernel: [   22.363706] sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan  1 05:30:16 cubieboard kernel: [   22.375694]  sda:
Jan  1 05:30:16 cubieboard kernel: [   22.387383] sd 1:0:0:0: [sda] No Caching mode page found
Jan  1 05:30:16 cubieboard kernel: [   22.406264] sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan  1 05:30:16 cubieboard kernel: [   22.421473] sd 1:0:0:0: [sda] Attached SCSI removable disk

patwood

It may not be write protected at the kernel level.  What does the mount command say about the file system permissions?  It may be that mount thinks the fs was not cleanly unmounted and is mounting it read-only to prevent further damage.

milkboy007

try
sudo pcmanfm

then try copying files to the usb. if successful, then its probably permission setting problem.
in which you just need to chown/chmod

if it fail, then it could be any numerous other problem hardware/software. try other hardware if you have a spare, example  freshly formatted usb flash disk or usb hub.

you can also try
sudo mount -o remount,rw /dev/sda /mount/point
to mount it as read/writable just change /dev/sda and /mount/point to the right partition and location to mount