chmod: changing permissions of 'xxx': Read-only file system

使用chmod修改文件权限时报如下错误:

chmod: changing permissions of 'xxx': Read-only file system

解决方法:

1.系统文件

如果是系统文件出现这个问题,重新挂载根目录即可:

mount -rw -o remount /

2.移动硬盘或者U盘

mount -o remount,rw /dev/sdc

来源:https://blog.csdn.net/zhangpeterx/article/details/83928344

本文链接:https://jeff.xin/post/134.html

--EOF--

Comments

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。