上一篇 下一篇 分享链接 返回 返回顶部

Centos7.6如何解决修改DNS配置材料resolv.conf权限出现Operation not permitted

发布人:管理员 发布时间:2025-03-02 11:08 阅读量:136

Centos7.6如何解决修改DNS配置记录resolv.conf权限出现Operation not permitted

1.lsattr /etc/resolv.conf,使用该命令查看记录属性

2.chattr -i /etc/resolv.conf,使用该命令删除i属性

3.chmod +w /etc/resolv.conf,使用该命令可以正常增加写权限

目录结构
全文