Need help with vi on iPhone

everman

Lifer
Nov 5, 2002
11,288
1
0
I'm using ssh to edit a file on my iPhone that runs a command to disable edge. Here's how

The problem is that when I try to save the file I get the error: "E212: Can't open file for writing"

Yes I'm logged in as root, I even did su root before running vi. As far as I can tell this is a problem associated with not being logged in root, so I don't know why this isn't working.

I'm not very proficient with bsd (on the iphone), so I'd appreciate any help, thanks.
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
Try w! (dubya bang) aka "Write dammit!" which overrides most read-only attributes.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Filesystem mounted ro? That's not uncommon on small flash based devices.