I want to edit one XML file in Pi 3. I used the command vi to edit it, but at the end I am not able to save it, it gives me an error

E45: 'readonly' option is set (add ! to override)

  • 1
    I'm not really sure how you expect us to answer this question... What file? What are its permissions? Where in the directory structure is it? – Jacobm001 Feb 9 '17 at 18:07
  • 1
    what is the output of ls -la run from the directory containing the file in question? – Steve Robillard Feb 9 '17 at 18:17

So finally I found the solution

sudo leafpad /location
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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