mfaridi Apr 20, 2010 #1 sometimes I use Vi for edit some files like devcot.conf and apache.conf , after edit I when I type Code: :wq I see this error Code: Read-only file, not written; use ! to override , but with mcedit I can edit this file without error
sometimes I use Vi for edit some files like devcot.conf and apache.conf , after edit I when I type Code: :wq I see this error Code: Read-only file, not written; use ! to override , but with mcedit I can edit this file without error
SirDice Administrator Staff member Administrator Moderator Apr 20, 2010 #2 mcedit ignores the permissions. Vi nicely warns you about it. You can always override it with :w!.
OP mfaridi Apr 20, 2010 Thread Starter #3 SirDice said: mcedit ignores the permissions. Vi nicely warns you about it. You can always override it with :w!. Click to expand... but I edit it with root user
SirDice said: mcedit ignores the permissions. Vi nicely warns you about it. You can always override it with :w!. Click to expand... but I edit it with root user
SirDice Administrator Staff member Administrator Moderator Apr 20, 2010 #4 mfaridi said: but I edit it with root user Click to expand... That's why you are able to override it.
mfaridi said: but I edit it with root user Click to expand... That's why you are able to override it.