Thursday, September 1, 2022

[SOLVED] Unable to edit file UNIX

Issue

I am trying to edit a file in vi editor - and when I try to save the changes it says READ ONLY. Even when I try to do a chmod I get an error saying I cannot do so.

I have logged in Unix using a personal ID and not a service one


Solution

Because you aren't owner of this file. You need to sudo vim with an owner user.



Answered By - Turrican
Answer Checked By - Mildred Charles (WPSolving Admin)