Permission Denied on a new USB
 

Permission Denied on a new USB

 
I have a 16 GB usb drive.
I stick it in my Raspberry Pi.
I drag a simple text file from my desktop to the folder.
It moves over ok.
When I double click the file, I get the following error message:

Failed to open file “/media/kyle/USBSTORAGE/test.txt”: Permission denied

I have formatted the drive through the “Disks” program and the following:

sudo mkfs.vfat /dev/sda1
sudo chmod 0777 /media/sda1 -r
sudo chmod 0777 /media/kyle/USBSTORAGE/
sudo chmod 777 /media/kyle/USBSTORAGE/

reboot.
Remove, then reboot.

Nothing works.

Here is my lsblk:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 48.4M 1 loop /snap/core18/1753
loop1 7:1 0 85.5M 1 loop /snap/core/9806
loop2 7:2 0 112K 1 loop /snap/gtk2-common-themes/16
loop3 7:3 0 48.8M 1 loop /snap/core18/1888
loop4 7:4 0 62.1M 1 loop /snap/gtk-common-themes/1506
loop5 7:5 0 41M 1 loop /snap/leafpad/75
loop6 7:6 0 25.9M 1 loop /snap/snapd/8147
loop7 7:7 0 16K 1 loop /snap/software-boutique/56
loop8 7:8 0 26M 1 loop /snap/snapd/8791
loop9 7:9 0 8K 1 loop /snap/ubuntu-mate-pi/11
loop10 7:10 0 14.9M 1 loop /snap/ubuntu-mate-welcome/540
sda 8:0 1 14.9G 0 disk
└─sda1 8:1 1 14.9G 0 part /media/kyle/USBSTORAGE
mmcblk0 179:0 0 58.2G 0 disk
├─mmcblk0p1 179:1 0 255M 0 part /boot/firmware
└─mmcblk0p2 179:2 0 58G 0 part /

Any help is appreciated.
Thanks!

 

Previous Gnome Chess
Next Hosts file
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

[ubuntu_mate] Compiling CinePaint 1.0-4

Hi, right now I am trying to compile CinePaint 1.0-4 from source, but I am getting various error messages: https://claus-cyrny.net/wordpress/wp…nepaint_01.png My question: Does anyone know where I can get all

Ubuntu Dsicussions 0 Comments

[ubuntu] Sound doesn't work ubuntu 20.10

Hello everyone, I installed ubuntu 20.04 on my Lenovo X1 Tablet. First I had sound but then it stopped working. I’ve read a lot in google about it and tried

Ubuntu Dsicussions 0 Comments

PCManFM -not -iname

I want to use the filemanager PCManFM to list all files except those with a specified extension, How can I do this? ie it’s like using ls -I “*.txt”  

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply