
# 无法编辑fstab文件怎么办？
#### 问题描述
编辑/etc/fstab文件，提示"readonly"。
图1fstab文件提示readonly   
![](https://support.huaweicloud.com/trouble-ecs/zh-cn_image_0241166660.png "点击放大")
#### 处理方法
修复模式下（read-only system）文件是被保护的不能修改，运行下面命令，把系统文件权限改成可读写（rw）。
**mount -o remount,rw /**
执行完上述命令，重试编辑fstab文件。
