2

So today I plugged in my 31 GB USB flash drive and opened it up. I was in the process of creating a Windows bootable device, when I tried to copy the files from my computer to the USB. I got an error message telling me I do not have permissions to add files.

  • I added and removed partitions on the usb thousands of times
  • I formatted it a bazillion times

And it seems I am unable to do the simple task of copying and pasting files.

I have passwords for the systems. I own the computer.

Why can't I copy files?

Formated it to ext2, fat32 and nfts: no results, same nonsense

Kevin Bowen
  • 19,615
  • 55
  • 79
  • 83
  • 2
    This happens to me sometimes, not sure why. Plug in the usb and go to /media/[yourusername] in the terminal. Type ls -al and see if the USB mount point is owned by root. If it is, type sudo chown [username]:[username] [mount point] and enter your password when asked. – Organic Marble May 08 '18 at 01:50
  • What is the specific "process of creating a windows bootable device" you were using? What commands or apps were you using? – xiota May 08 '18 at 03:09
  • Show us: cat /etc/mtab with your usb flash drive inserted – Gryu Mar 09 '20 at 21:15

2 Answers2

0

Well for me in 2023 the solution that I found is: Open "Disk management utility for GNOME". Select USB and apply "Repair Filesystem" (you can run after "Check File system")

Sometime the issue happend when you had previously open the USB on Windows OS

wmora2
  • 163
-1

Do as said in this question last part like this:

New update:

I found solution by using gparted app by this instruction:

This has been reported as a bug. But you can try this work around and see if it works. Install Gparted if you don't have it installed. If its not, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install gparted

Once installed, open the application, and before formatting, make sure that you choose the right drive, and Unmount the disk by right clicking on the partition, and choose Unmount, then you can use the format To option, to format it to whatever type of file system you wish. Once done click on the green check mark to apply the changes. enter image description here

like this:

enter image description here

unfortunately i don't saved the result log file which could help to understand what happened . ( but based of sudo journalctl | grep sdc it seems that not unmounted correctly by removing form PC USB port manually and ...

Lorenz Keel
  • 8,905
Soheil Paper
  • 1,417