Find the answer to your Linux question:
Results 1 to 3 of 3
Hey peoples im running latest ubuntu and Im trying to copy files to a flash drive and it says that the error shown in the picture below it says Screenshot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Sep 2012
    Posts
    148

    Fix Error copUser Nameuying files to USB flash drive


    Hey peoples im running latest ubuntu and Im trying to copy files to a flash drive and it says that the error shown in the picture below it says
    Screenshot from 2012-10-11 22:27:29.jpg
    Code:
    error copying files file destination is read only
    Please help!!

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Ubuntu should have been nice and mounted that read-write for you.

    hopefully, it is as simple as remounting it with a sudo command.

    first get the mount point. run "df -T" (the T says to show the filesystem) and look in the output for something that looks like your USB disk, e.g.:
    Code:
    $ df -T
    Filesystem     Type     1K-blocks      Used Available Use% Mounted on
    rootfs         rootfs     7656360   6708632    563680  93% /
    /dev/root      ext4       7656360   6708632    563680  93% /
    devtmpfs       devtmpfs    508240         0    508240   0% /dev
    tmpfs          tmpfs       508560        24    508536   1% /dev/shm
    /dev/sdb1      vfat        204800      2048    200000   4% /media/USB_DISK
    The last line there is the one of interest. So then I'd do:

    Code:
    sudo mount -o remount,rw /media/USB_DISK
    Then look in /proc/mounts to see if it "took":

    Code:
    $ grep USB_DISK /proc/mounts
    /dev/sdb1 /media/USB_DISK vfat rw,nosuid,nodev 0 0
    You can see it is read-write.

    If this fixes it for you, you still want it to mount read-write in the future, when you plug it in. We can hopefully figure that out, but try the remount command first, to see if that is it.

  3. #3
    Linux Newbie
    Join Date
    Sep 2012
    Posts
    148
    Hey man that worked thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •