用vi修改文件,保存文件时,提示“readonly option is set”的解决方法。
(2017-04-03 00:29:39)
标签:
nfsnfs-serverrpcbindcentos |
分类: linux |
This is a vim issue, not a file permission issue. If you did not have read permission on the file, you'd see a "Permission denied" error.
Do you invoke vi/vim with the -R
view
vi
vim
?
Do you have set
readonly
In vim you can enter :set
noreadonly
步骤:
1.按Esc键
2.输入