You are not logged in.

#1 2014-08-16 16:33:42

bakk
Member
Registered: 2014-08-16
Posts: 4

[Solved] Cannot write to any of my USB sticks

Hi,

my problem is that I cannot WRITE to *any* of my usb thumb drives.
Permissions of the mount-directoy are set to my user (777).

dmesg | tail

[33746.787608] scsi14 : usb-storage 1-7:1.0
[33747.788120] scsi 14:0:0:0: Direct-Access                               0.00 PQ: 0 ANSI: 2
[33747.789399] sd 14:0:0:0: [sdc] 15794176 512-byte logical blocks: (8.08 GB/7.53 GiB)
[33747.789946] sd 14:0:0:0: [sdc] Write Protect is off
[33747.789949] sd 14:0:0:0: [sdc] Mode Sense: 00 00 00 00
[33747.790464] sd 14:0:0:0: [sdc] Asking for cache data failed
[33747.790466] sd 14:0:0:0: [sdc] Assuming drive cache: write through
[33748.026967]  sdc: sdc1
[33748.144329] sd 14:0:0:0: [sdc] Attached SCSI removable disk
sudo mount -rw /dev/sdc /run/media/bakk/USB
mount: /dev/sdc ist schreibgeschützt, doch Option -w ist explizit gegeben 

This means that the drive is write-protected, but I used the option -w explicitly.



I found a similar question regarding write-protected drives at askubuntu (http://askubuntu.com/questions/101637/u … ection-off),

but executing   

sudo hdparm -r0 /dev/sdc

did not help.

Also, this is a problem ptresent to all my thumb drives and none of them has something like a hardware writeprotection-button.



edit:

sudo cp -R /run/media/bakk/HDD/xxxxxx.mkv /run/media/bkk/D9F4-D85E/
cp: der Aufruf von stat für „/run/media/abkk/HDD/xxxxxx.mkv“ ist nicht möglich: Keine Berechtigung

Says execution of cp is not possible: no permission.



Thanks for help in advance,

bakk

Last edited by bakk (2014-08-16 22:57:48)

Offline

#2 2014-08-16 17:23:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [Solved] Cannot write to any of my USB sticks

What are the file formats on those disks? NTFS?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2014-08-16 17:31:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cannot write to any of my USB sticks

Run

LC_ALL=C <command>

to get the output in English.

Offline

#4 2014-08-16 20:50:06

bakk
Member
Registered: 2014-08-16
Posts: 4

Re: [Solved] Cannot write to any of my USB sticks

ewaller wrote:

What are the file formats on those disks? NTFS?

I tried different formats (creating new partition table and filesystem is possible for some reason...): ext4, fat32 and NTFS


Thanks for the tip with english output, karol!

sudo cp -R /run/media/bakk/HDD/xxxxxx.mkv /run/media/bkk/D9F4-D85E/
cp: cannot stat '/run/media/bakk/HDD/xxxxx.mkv': Permission denied
LC_ALL=C sudo mount -rw /dev/sdc /run/media/bakk/USB
mount: /dev/sdc is write-protected but explicit `-w' flag given

mounting without -rw flag does work at least (but still the question is what "blocks" the device from giving me (and sudo) write access).

Last edited by bakk (2014-08-16 20:56:44)

Offline

#5 2014-08-16 21:11:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [Solved] Cannot write to any of my USB sticks

[33748.026967]  sdc: sdc1

That device has a partition table.  The file system is on sdc1 (a partition), not sdc (the entire device)
What if you try to mount /dev/sdc1  ?
When you created the file system, was it on sdc, or sdc1?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2014-08-16 22:29:58

rockin turtle
Member
From: Montana, USA
Registered: 2009-10-22
Posts: 227

Re: [Solved] Cannot write to any of my USB sticks

I had problems with my usb thumb drives a few months ago.  I had done a pacman -Syu that morning and had updated to a new kernel, but then had forgotten to reboot.

After I rebooted, the usb problems went away.

I see that when I did pacman -Syu two days ago, I was upgraded to 3.16.1-1.  If you have upgraded sometime in the last 2 days and haven't rebooted since, that may be the cause of your problems.

Edit: text formating

Last edited by rockin turtle (2014-08-16 22:31:36)

Offline

#7 2014-08-16 22:57:28

bakk
Member
Registered: 2014-08-16
Posts: 4

Re: [Solved] Cannot write to any of my USB sticks

rockin turtle wrote:

I had problems with my usb thumb drives a few months ago.  I had done a pacman -Syu that morning and had updated to a new kernel, but then had forgotten to reboot.

After I rebooted, the usb problems went away.

I see that when I did pacman -Syu two days ago, I was upgraded to 3.16.1-1.  If you have upgraded sometime in the last 2 days and haven't rebooted since, that may be the cause of your problems.

Edit: text formating

Wow, rebooting actually did the job of solving the problem!

Thank you turtle, ewaller and karol for giving help!

Offline

Board footer

Powered by FluxBB