Skip to main content
Welcome to formatting your USB printer. Or mouse. (No, edited in pen drive, but really, this is important)
Source Link

I'm formatting an usb so forUSB pen drive. For this I run the following commnandscommands:

First umount the device: sudo umount  
sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where devices are connected)

Second Format the usbpen drive:   
sudo mkfs.vfat -I /dev/sdc (sdc is the device I want to format)

Third I create a folder for use as mountpoint:   
sudo mkdir -p /run/media/myuser/turid

After that I have set permissions and owner: sudo chown myuser:myuser /run/media/myuser/turid && sudo chmod -R 777 /run/media/myuser/turid

And finally I mount the device: sudo mount /dev/sdc /run/media/myuser/turid

And when I try to copy in file manager a file I get the message "Permission denied" even when the owner is myuser and I have rights to create and remove.

I have noticed that when I unplug and plug again it creates a new folder (as normal) and mounts the device with the same permissions and I can copy (as is normal and right). So anyone can help me to explain this?

I'm formatting an usb so for this I run the following commnands:

First umount the device: sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where devices are connected)

Second Format the usb:  sudo mkfs.vfat -I /dev/sdc (sdc is the device I want to format)

Third I create a folder for use as mountpoint:  sudo mkdir -p /run/media/myuser/turid

After that I have set permissions and owner: sudo chown myuser:myuser /run/media/myuser/turid && sudo chmod -R 777 /run/media/myuser/turid

And finally I mount the device: sudo mount /dev/sdc /run/media/myuser/turid

And when I try to copy in file manager a file I get the message "Permission denied" even when the owner is myuser and I have rights to create and remove.

I have noticed that when I unplug and plug again it creates a new folder (as normal) and mounts the device with the same permissions and I can copy (as is normal and right). So anyone can help me to explain this?

I'm formatting an USB pen drive. For this I run the following commands:

First umount the device: 
sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where devices are connected)

Second Format the pen drive: 
sudo mkfs.vfat -I /dev/sdc (sdc is the device I want to format)

Third I create a folder for use as mountpoint: 
sudo mkdir -p /run/media/myuser/turid

After that I have set permissions and owner: sudo chown myuser:myuser /run/media/myuser/turid && sudo chmod -R 777 /run/media/myuser/turid

And finally I mount the device: sudo mount /dev/sdc /run/media/myuser/turid

And when I try to copy in file manager a file I get the message "Permission denied" even when the owner is myuser and I have rights to create and remove.

I have noticed that when I unplug and plug again it creates a new folder (as normal) and mounts the device with the same permissions and I can copy (as is normal and right). So anyone can help me to explain this?

deleted 5 characters in body
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265

I'm formatingformatting an usb so for this I run the following commnands:

First umount the devidedevice: sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where devices are connected)

Second Format the usb: sudo mkfs.vfat -I /dev/sdc (sdc is the device I want to format)

Third I create a folder for use as mountpoint: sudo mkdir -p /run/media/myuser/turid

After that I have set permissions and owner: sudo chown myuser:myuser /run/media/myuser/turid && sudo chmod -R 777 /run/media/myuser/turid

And finally I mount the device: sudo mount /dev/sdc /run/media/myuser/turid

And when I try to copy in file manager a file I get the message "Permission denied" even when the owner is myuser and I have rights to create and remove.

I have noticed that when I unplug and plug again it creates a new folder  (as normal) and mountmounts the device with the same permissions and I can copy (as is normal and right). So anyone can help me to explain this? Thanks :)

I'm formating an usb so for this I run the following commnands:

First umount the devide: sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where devices are connected)

Second Format the usb: sudo mkfs.vfat -I /dev/sdc (sdc is the device I want to format)

Third I create a folder for use as mountpoint: sudo mkdir -p /run/media/myuser/turid

After that I have set permissions and owner: sudo chown myuser:myuser /run/media/myuser/turid && sudo chmod -R 777 /run/media/myuser/turid

And finally I mount the device: sudo mount /dev/sdc /run/media/myuser/turid

And when I try to copy in file manager a file I get the message "Permission denied" even when the owner is myuser and I have rights to create and remove.

I have noticed that when unplug and plug again it creates a new folder(as normal) and mount the device with the same permissions and I can copy (as is normal and right). So anyone can help me to explain this? Thanks :)

I'm formatting an usb so for this I run the following commnands:

First umount the device: sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where devices are connected)

Second Format the usb: sudo mkfs.vfat -I /dev/sdc (sdc is the device I want to format)

Third I create a folder for use as mountpoint: sudo mkdir -p /run/media/myuser/turid

After that I have set permissions and owner: sudo chown myuser:myuser /run/media/myuser/turid && sudo chmod -R 777 /run/media/myuser/turid

And finally I mount the device: sudo mount /dev/sdc /run/media/myuser/turid

And when I try to copy in file manager a file I get the message "Permission denied" even when the owner is myuser and I have rights to create and remove.

I have noticed that when I unplug and plug again it creates a new folder  (as normal) and mounts the device with the same permissions and I can copy (as is normal and right). So anyone can help me to explain this?

Source Link
Yábir Garcia
  • 197
  • 1
  • 1
  • 5

Error copying file in mounted usb

I'm formating an usb so for this I run the following commnands:

First umount the devide: sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where devices are connected)

Second Format the usb: sudo mkfs.vfat -I /dev/sdc (sdc is the device I want to format)

Third I create a folder for use as mountpoint: sudo mkdir -p /run/media/myuser/turid

After that I have set permissions and owner: sudo chown myuser:myuser /run/media/myuser/turid && sudo chmod -R 777 /run/media/myuser/turid

And finally I mount the device: sudo mount /dev/sdc /run/media/myuser/turid

And when I try to copy in file manager a file I get the message "Permission denied" even when the owner is myuser and I have rights to create and remove.

I have noticed that when unplug and plug again it creates a new folder(as normal) and mount the device with the same permissions and I can copy (as is normal and right). So anyone can help me to explain this? Thanks :)