Home > Article > Operation and Maintenance > Linux files cannot be modified by root
首先运行如下命令,查看文件是否被添加了sia属性:
lsattr /var/spool/cron/root
结果如下:
s---ia------- /var/spool/cron/root
在线学习视频推荐:linux视频教程
然后使用如下命令,删除sia属性
chattr -isa /var/spool/cron/root
完成之后即可对文件进行修改了。
相关文章教程推荐:linux教程
The above is the detailed content of Linux files cannot be modified by root. For more information, please follow other related articles on the PHP Chinese website!