Read-Only file solution for USB flash drives in linux

Source: Internet
Author: User
When we use ubuntu, we often use a USB flash drive to transmit files, but we don't know why, your USB flash drive can be used normally in windows, but in linux, files become read-only, you cannot copy, paste, or perform other common operations.

When we use ubuntu, we often use a USB flash drive to transmit files, but we don't know why, your USB flash drive can be used normally in windows, but in linux, files become read-only, you cannot copy, paste, or perform other common operations. How can this problem be solved?

Run the following command under the root user:Command:

(1) run this command First: tail-f/var/log/syslog

(2) plug in the USB flash drive (USB flash drive with read-only File Permission)

(3) fdisk-l

From the above we can see that the file system mounted to the U disk is/dev/sdc1, and my computer is a dual system, different computers may be different. this command is usually used to know some information about the system disk.

(4) hanging on a USB flash drive, you can view the path of the USB flash drive through Properties

Umount/media/cjl/UUI ############ cjl is the user name and UUI is the Instance name.

(5) sudo dosfsck-v-a/dev/sdc1

After the above five steps, the problem can be solved.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.