This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17749|Reply: 0

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

[Copy link]
Posted on 11/16/2021 1:05:22 PM | | | |
vim modification file error "E45: 'readonly' option is set (add ! to override)",

In fact, this is caused by permissions, the file is set to read-only, and you need to execute sudo before the read-only file is modified, but it has been modified, how to force it to be saved? You only need to execute the following command when saving:

:wq!The above command is to force save and exit, and then it's okay!

Not recommendedOr enter: set noreadonly, you can save it in the normal way: wq









Previous:The nginx fastcgi_pass protocol is briefly introduced and tested
Next:Spring Cloud Nacos multi-NIC registration binds a specified IP address
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com