Complete.Org: Mailing Lists: Archives: freeciv: August 2001:
[Freeciv] Setuid'ing a Civ Server / Saving games.
Home

[Freeciv] Setuid'ing a Civ Server / Saving games.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: strub_p@xxxxxxxxxxxxx
Cc: freeciv@xxxxxxxxxxx
Subject: [Freeciv] Setuid'ing a Civ Server / Saving games.
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Thu, 16 Aug 2001 09:45:15 +0200

strub_p@xxxxxxxxxxxxx writes:
 >      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.
Is there any reason for setting the suid bit on civserver?

Greetings
Andreas Kemnade


[Prev in Thread] Current Thread [Next in Thread]