当前位置:网站首页>E45: ‘readonly‘ option is set (add ! to override)
E45: ‘readonly‘ option is set (add ! to override)
2022-06-23 04:52:00 【Ink mark vs. breeze】
use vi Modify file , When saving a file , Prompt: you do not have permission to modify this file “E45: ‘readonly’ option is set (add ! to override)” Solutions for .
E45: ‘readonly’ option is set (add ! to override)
The error is that the current user does not have permission to modify the file
There are three possibilities :
1 . The error is that the current user does not have permission to modify the file , Do you have permission to modify the file ? If it is root jurisdiction , Sure :wq! Force save to exit ;
2 . The file was not saved correctly exit , Opening status , Please close it and save it ;
3 . If the file is closed by everyone , Prompt that some people have not closed , Delete the temporary file of the file and it can be opened normally 、 modify 、 preservation ;
There is a display that the file is not closed :
E325: ATTENTION
Found a swap file by the name “.application.properties.swp”
owned by: wasadmin dated: Tue Nov 29 14:31:30 2016
file name: /opt/IBM/WebSphere/AppServer/profiles/AppSrv03/installedApps/B2C-WAP-API-2Node03Cell/airchina_war.ear/airchina.war/WEB-INF/config/application.properties
modified: no
user name: wasadmin host name: B2C-WAP-API-2
process ID: 9278 (still running)
While opening file “application.properties”
dated: Tue Nov 29 12:48:05 2016
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use “:recover” or “vim -r application.properties”
to recover the changes (see “:help recovery”).
If you did this already, delete the swap file “.application.properties.swp”
to avoid this message.
Swap file “.application.properties.swp” already exists!
[O]pen Read-Only, (E)dit anyway, ecover, (Q)uit, (A)bort:
step :
1. Press Esc key
2. Input :set noreadonly
3. Then it can be saved normally , You can type :wq To save the file .
边栏推荐
猜你喜欢

Halcon knowledge: binocular_ Discrimination knowledge

如何让社交媒体成为跨境电商驱动力?这款独立站工具不能错过!

The paddepaddle model is deployed in a service-oriented manner. After restarting the pipeline, an error is reported, and the TRT error is reported

Abnova PSMA bead solution

Abnova liquidcell negative enrichment cell separation and recovery system

PCB -- bridge between theory and reality

在Pycharm中使用append()方法对列表添加元素时提示“This list creation could be rewritten as a list literal“的解决方法

一款MVC5+EasyUI企业快速开发框架源码 BS框架源码

openwrt目录结构

notepad++ 查找替换之分组替换保留
随机推荐
PCB----理论与现实的桥梁
thinkPHP6解决跳转问题
Abnova酸性磷酸酶(小麦胚芽)说明书
Precautions for running high-frequency and high-speed signal lines near PCB board - basic principles for high-frequency and high-speed signal design
win10查看my.ini路径
STL教程3-异常机制
[acnoi2022] no way without guessing
composer按装laravel
Reinstallation of cadence16.3, failure and success
Pta:6-71 clock simulation
Please use the NLTK Downloader to obtain the resource
【论文阅读】Semi-Supervised Learning with Ladder Networks
MySQL导入大文件(可以是百万级,也可以是百级)
396. 矿场搭建
Laravel中使用 Editor.md 上传图片如何处理?
Volatile and threads
32单片机一个变量多个.c里使用
Flask基础:环境搭建+配置+URL与试图之间的映射+重定向+数据库连接
PTA: price of 7-65 beverage
mysql json