My USB drive is read-only: I want to be able to write on it
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My USB drive is read-only: I want to be able to write on it
Hello, all
For some odd reason, my USB jump drive is set to read-only. I don't know how it got that way, but I want it so that I can write data to it. I'm using Debian stable.
this happened recently to my xbmc-live drive. it was something called smart-control which would determine how many sectors were bad and if it thought the drive was failing, it would prevent it from being written to so you can copy all the stuff off of it and buy a new one.
Well, I don't know if the drive is failing. It's a USB stick. I'd like any better answers. I just think some programmatic configuration is not where it should be. Perhaps someone got ahold of my computer technology and jacked with it: I had been attempting to help some people with computer science, but maybe they defrauded me and jacked with my stuff.
Usually in my experience, unmounting them, removing them, and remounting them has cleared that up.
Did you try to access the drive as root? It might be an ownership issue.
It might also be worthwhile to test the drive on another computer to see whether the read-only issue occurs there or whether it's specific to the Debian box.
With the device connected, what is reported by the following?
Code:
mount
Code:
sudo /sbin/fdisk -l
Sometimes, file-system corruption can cause the media to be mounted read-only. If this is the case, then once we know the file-system type, it should be possible to fix the inconsistent state, so that it can be mounted read-write again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.