Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The write-protect switch on an SD card doesn't connect to any internal electronics, so it must just be respected by the software controlling the card reader.

Is there any way for me to override this setting and mount a write-protected card with read-write permissions?

share|improve this question
What makes me think this might be possible is the fact that the Canon Hack Development Kit writes photos to a write-protected SD card. My incentive for wanting to do this in Ubuntu is to make it easier to work with the write-protected SD cards that are used with CHDK. – ændrük Sep 1 '10 at 23:32
@ændrük The thing with CHDK is the firmware for Cannon SD Readers are known. I think if you find a solution it's going to be very hardware specific. Unfortunately I don't envision there being a universal over-ride flag for card readers – Marco Ceppi Sep 1 '10 at 23:51
Could you update your post possibly with the specific hardware you're working with. It may assist you in narrowing the scopes question and getting an answer a lot faster. – Marco Ceppi Sep 1 '10 at 23:52
@Marco If the write-protection isn't the responsibility of Ubuntu or its drivers, that's a good enough answer for my purposes. I'm not interested in narrowing the scope to specific hardware. – ændrük Sep 2 '10 at 5:13
Why don't you just flip the switch on the side of the card? – maco Sep 2 '10 at 18:40
up vote 4 down vote accepted

Not likely. The read/write access is set by the drive's firmware and is usually impossible to change.

share|improve this answer
It depends on the drive - some drives don't have read-write protection. It's an interesting question to see if you can override the drives logic. I don't think it's probable, but would be interested if it was possible. – Marco Ceppi Sep 1 '10 at 22:24
@Marco: There... I reworded it. – Nathan Osman Sep 2 '10 at 0:21

Yes you can overide. on one side of ther SD_card there is a small nik ( remember cassette tapes ). if you cover this with some thin card (selotape works too, but needs several layers ). then it will allow the transfer of music pictures etc, onto the protected sd-card.

share|improve this answer
This is not a valid answer. The OP wishes to override the switch in software. The nick is assumed. – hexafraction Aug 3 '12 at 13:01
@ObsessiveSSOℲ This seems like a valid answer to me. This information will solve the same problem the OP has presented, and will likely be useful to many others who identify with the OP's situation, especially in light of George Edison's (probably quite correct) answer. – Eliah Kagan Feb 3 '13 at 16:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.