Diese Seite ist in Ihrer lokalen Sprache noch nicht verfügbar. Wir arbeiten daran, weitere Sprachversionen hinzuzufügen. Vielen Dank für Ihre Unterstützung.

On this page

Show all

Help Center/ Elastic Cloud Server/ Troubleshooting/ Linux ECS Issues/ How Do I Fix a "Read-Only" Error When I Edit the /etc/fstab File?

How Do I Fix a "Read-Only" Error When I Edit the /etc/fstab File?

Updated on 2023-03-30 GMT+08:00

Symptom

When you try to edit the /etc/fstab file, the message "read-only" is displayed.

Figure 1 Read-only /etc/fstab

Solution

In the read-only mode, the file cannot be modified. Run the following command to obtain the read and write permissions on the file:

mount -o remount,rw /

After the preceding command is executed, edit the file again.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback