wirthlin@emily.uvm.edu (Ralph Wirthlin) (08/09/89)
I have been given the honor (depends on your point of view) of installing various games on the system here. I would like to be able to (1) run nethack without suid priveleges (I keep /usr/games/lib as rwx..x..x and make the other directories readable and writeable as necessary. I know it's not foolproof but it will keep most nosey people out. ) (2) keep the save files in the user's home directory (if he cheats that's his problem - not mine ) (3) keep the levels and lock files in the /tmp directory (4) keep the rest of the files including the scoreboard in /usr/games/lib/nethackdir Translation: I don't want the game to generate a bunch of files which could use up critical disk space *real* fast. I've tried to hard-code the directories in but that doesn't seem to work since nethack will strip absolute path names. I am contemplating going through the code and changing it but I have a nagging suspicion that there is a real easy way of doing it. Any help would be greatly appreciated. Thanks, Ralph ------------------------------------------------------------------------------- Ralph L. Wirthlin | "Who knows where madness lies .. EMAIL:wirthlin@emily.uvm.edu | To surrender dreams, this may be USMAIL: BOX 125 Newport Ctr., VT | madness .. too much sanity is madness, | but maddest of all is to see life as | it is and not as it should be" | - Man of La Mancha -------------------------------------------------------------------------------