The USB drive is read only even write protection is off

Solution 1:

Format the USB drive into FAT32 filesystem using GParted partition editor. After you do that, remove it from the PC, reboot the PC, and then re-insert the USB drive. Now it should work.

Try the below command to give read, write, execute permissions to your USB:

sudo chmod 777 /media/usbpartition-name