Every USB stick I plug in is read-only and I cannot copy files to it.

Here's what I've tried so far.

  1. I've formatted each one to either FAT32 or NTFS, quick and detailed format in Disks and GParted.
  2. I've used GParted to format the stick and recreate the msdos partition table layout. The device mounts fine, but won't copy files
  3. I've tried using other USBs that already have files.
  4. I've tried to unmount, remount:
    sudo chmod 777 /media/USER/USB_LABEL and 
    sudo mount -o remount,rw '/media/gaj/Working'
  5. I've changed permissions on all my media.
  6. There are no panic messages when plugging in the USB:
    dmesg | grep -i panic
  7. These are the dmesg log messages after plugging in and trying to copy to USB (Kingston is the brand):
    [ 4596.836206] scsi 4:0:0:0: Direct-Access     Kingston DT 101 G2        PMAP PQ: 0 ANSI: 0 CCS
    [ 4596.836620] sd 4:0:0:0: Attached scsi generic sg2 type 0
    [ 4598.105667] sd 4:0:0:0: [sdb] 15646720 512-byte logical blocks: (8.01 GB/7.46 GiB)
    [ 4598.107900] sd 4:0:0:0: [sdb] Write Protect is off
    [ 4598.107903] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
    [ 4598.110120] sd 4:0:0:0: [sdb] No Caching mode page found
    [ 4598.110123] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 4598.140729]  sdb: sdb1
    [ 4598.146626] sd 4:0:0:0: [sdb] Attached SCSI removable disk
    [ 4598.372004] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
  8. I run fsck on my USB device /dev/sdb1, which finds some "dirt" and fixes it, but again nothing changes.

Can anyone help me before I smash my computer into pieces and move to Fedora?

  • for me diskpart in windows worked well. Sep 18, 2016 at 7:39
  • I think I did something right, cause now it works. I umnounted and did the step 8, and now every USB works. But there must have been a glitch, cause it had applied to all the USBs I have.
    – Mookey
    Sep 18, 2016 at 8:56
  • Lucky you Mookey. No luck here. I try and mount it and still mount: /media/DOS: WARNING: device write-protected, mounted read-only.. Most frustrating. Reports all over the web of similar issues, yet to find a solution that works. Nov 29, 2019 at 4:19

6 Answers 6


My head hurts a little from all this, but hey turned out to be this bug. It's a shame to see the community take such a setback from the dismissal of Unity, and while they start over the giants like Microsoft and OS continue to progress down the road.

killall nautilus

Worked for me.

  • 1
    Nice! This worked for me too.
    – bfz
    Sep 29, 2017 at 9:18
  • I experienced this issue few times with fresh installations.. that worked perfectly and should be the answer.
    – user513724
    Oct 9, 2017 at 11:03
  • Totally agree. These indefinite Unity "bugs" have reached a limit now, I'm switching to Ubuntu-MATE as early as possible. Dec 2, 2017 at 21:40
  • I found this solution just to find out that I already up-voted and commented on it before. Its a shame we're not getting any fix for this, especially since its what we have out of the box in 16.04 LTS.
    – bfz
    Jan 24, 2018 at 16:37
  • This is nuts. I'm sure there's a "technical" reason for this, but how a bug like this passed through QA and hasn't been fixed in over a year, is beyond me. I love Linux, but blatant issues like this, you just don't see on Windows. Sep 15, 2018 at 1:50

I found this info. Try this: How to fix read only USB pen drive in Ubuntu. I do not know why every USB stick would be read-only. Hope it helps anyway.

  • Thanks, I got it fixed and this link will serve as future reference for potential USB issues. I'm accepting it.
    – Mookey
    Sep 19, 2016 at 6:48
  • 1
    @Mookey link is broken :'( Jul 26, 2017 at 11:00
  • 1
    Doesn't work. I'll just get used to throwing usb keys in the trash. Ubuntu = perfect paradox. Startup disk creator doesn't work with 100% reliability, so use Etcher instead which creates tons of partitions, then comes Ubuntu block size 512 error in gparted if you want to format it, so you have to dd if=/dev/zero... the usb drive, recreate, then permissions are broke, can't write. Linux distros are suffering from a segmentation problem that is unfortunately BAD news for Linux as a whole. Sorry but the switch to Linux has been very sad. Sep 9, 2017 at 21:02
  • 1
    @codeaviator - try the Google web cache here: webcache.googleusercontent.com/…
    – dmcquiggin
    Oct 3, 2017 at 19:23
  • Link worked for me, but the method did not. dosfsck found nothing to fix and my USB flash drive is still mounted read only no matter what I try. Nov 29, 2019 at 4:14

This is how I fixed the permissions of my pen drive that 'suddenly' became readonly.

  1. Switch to super user with:
    sudo su -

  2. Find in which directory the USB drive has been mounted by running:
    df -Th

    You should get a list of drives and your USB drive should be listed as:
    /dev/sda1 fuseblk 15G 65M 15G 1% /media/someuser/myUsbDrive

  3. Change the permissions of your USB pen drive (located at /dev/sda1) with:
    find /dev/sda1 -type f -exec chmod 666 {} \;

    or with

    find /dev/sda1 -type f -exec chmod 644 {} \;

Now your drive should be writable.

If the above doesn't work then change the permissions of the directories to make them writable:

find /dev/sda1 -type d -exec chmod 755 {} \;


You should try formatting it with the Ext4 partition format. That should let Ubuntu at least read and write to the USB drive correctly.


For a FAT formatted drive the following should work.

Mounting this way in Ubuntu 18.10 is now deprecated, but still works. With a spot of luck your external drive will be mounted as the current user. Please note though that sdb1 may not be the name of your drive.

gvfs-mount -d /dev/sdb1

For me, installing ntfs-config and rebooting fixed it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.