首页>高防服务器问答/资讯>Centos7.6如何解决修改DNS配置文件resolv.conf权限出现Operation not permitted

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

发布时间:2023/9/25 10:57:28

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

Centos7.6如何解决修改DNS配置文件resolv.conf权限出现Operation not permitted-4812

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

Centos7.6如何解决修改DNS配置文件resolv.conf权限出现Operation not permitted-4813

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

Centos7.6如何解决修改DNS配置文件resolv.conf权限出现Operation not permitted-4814

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

Centos7.6如何解决修改DNS配置文件resolv.conf权限出现Operation not permitted-4815

在线客服
微信公众号
免费拨打0592-5580190
免费拨打0592-5580190 技术热线 0592-5580190 或 18950029502
客服热线 17750597993
返回顶部
返回头部 返回顶部