0
点赞
收藏
分享

微信扫一扫

bash: cannot create temp file for here-document: Read-only file system

虚拟机linux系统​只读处理

mount 查看所有挂载,发现根目录的挂载权限是ro只读

​查看 /etc/fstab 发现某字段写错了,修改以后提示文件只读,没办法修改

重新挂载根目录

mount -o remount,rw /

重新编辑/etc/fstab 解决问题

举报

相关推荐

0 条评论