zoukankan      html  css  js  c++  java
  • Ubuntu问题:E45: 'readonly' option is set (add ! to override)错误解决

    问题描述:E45: 'readonly' option is set (add ! to override)

    问题分析:该错误为当前用户没有权限对文件作修改

    问题解决:

    输入  :w !sudo tee %

    • :w – write
    • !sudo – call shell sudo command
    • tee – the output of write (:w) command is redirected using tee
    • % – current file name
  • 相关阅读:
    vi
    head
    uniq
    sort
    所谓静态绑定
    债务
    不确
    tar
    VMWare虚拟系统上网设置 及 三种模式详解
    awk
  • 原文地址:https://www.cnblogs.com/haimishasha/p/7629935.html
Copyright © 2011-2022 走看看