[Freeciv] Setuid'ing a Civ Server / Saving games.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
Currently, when civserver has a setuid, it doesn't save the
games with the real user ID of the user whose initiates the game. So,
the games must be saved in a spool owned by the effective user.
An another solution is to switch real and effective UID
(setreuid) before opening a file and restore them after.
Comments ? Regards,
Pierre-Yves Strub.
- [Freeciv] Setuid'ing a Civ Server / Saving games.,
strub_p <=
|
|