Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: golem on December 19, 2004, 12:17:27 PM
-
Sorry if this is a bit thick of me but I have an annoying problem thats just come back after disappearing for a while. Whenever I open a file with ed when I save it it sets the protection bits of that file to read only. So when I next go to edit the same file I have to set it to rwed again if I want to save it. It is very annoying and I can't remember what I did to get rid of it. Thanks... :-?
-
I recall some similar trouble back in Os3.0 relating to ed.
What I did was to rename ed to ed.exe and then write a small dos script wrapper for it and call that ed. The sript would use the protect command to set the protection bits before trying to open the file (and also attempts to after the executable quits).
-
Yes I remember doing that now but I think I saw a proper fix on here as well which means you don't have to do that. Buggered if I can remember. Thanks