[Freeciv-Dev] Re: i can't save (PR#338)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
David Pfitzner <dwp@xxxxxxxxxxxxxx> writes:
> On Fri, 21 Apr 2000 14:38:03 -0700 (PDT) GtUmaro@xxxxxxxxxx wrote:
>
> > Version: 1-10
> > Distribution: Mandrake binary
> > Client: Gtk+
> > OS: linux redhat 6.1
>
> > It's not a bug (i think)
>
> I agree. :-)
>
> > but i can't managed to save a game
> > the autosave don't work either...
> > When autosave occured (or when i try to save) for exemple at -3000BC it says
> > in ciserver windows "Echec dans la sauvegarde du jeu sous civ-game-3000.sav"
> > (i.e. "savegame failed in civ-game-3000.sav")
>
> Freeciv normally saves games to the current directory where
> you started the server. If you don't have write permission
> on that directory, you will get the above result. Try eg
> save /home/username/file.save
> where /home/username is where-ever your home directory is.
> Or even better, start civserver from a writable directory
> (so then autosave should work too).
This problem keeps popping up. We should check if the directory is
writeable *on startup* if autosave is set, and issue a warning if
not. And when saving fails, strerror() should also be
printed. Shouldn't be too hard (though I don't know what unix call
does this, stat perhaps).
Falk
|
|