Bug 28104 - nethack-3.4.1-r1 cannot save games
|
Bug#:
28104
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: gnagent2@yahoo.com.au
|
|
Component: Games
|
|
|
URL:
|
|
Summary: nethack-3.4.1-r1 cannot save games
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-09-07 02:58 0000
|
cannot save games. Bug 9147 (3.4.0-r3) seems to have been reintroduced into the
nethack-3.4.1-r1.ebuild.
Fix is to change the owner and group of /var/games/nethack/save to games (was root).
Also I wonder if the nethack directory shouldn't be /var/lib/games/nethack
rather than /var/games/nethack.
Reproducible: Always
Steps to Reproduce:
1. nethack
2. play a little
3. save the game
this should be fixed ...
*** This bug has been marked as a duplicate of 26586 ***
hmm you're right
i fixed this is 3.4.2
Why does falcon's eye use the old root:root 2755 while Nethack sticks with
games:games ?
The only reason I'm saying this is the Nethack way allows any user in games
group to modify saved games.
Nethack has traditionally only allowed root to cheat.
Oh, also falcon's eye uses a completely different save location.
Instead of:
/var/games/falconseye/save
It uses:
/usr/share/falconseye/save/
thats because we've updated nethack and not falconseye ;)
theres an open bug about a newer version of falconseye ... when i update
that bug, i'll sync the format of falconseye with nethack
Soooo, just to be clear. Nethack is *meant* to allow ordinary users to cheat?
'cause that's not the normal nethack install behaviour.
currently the policy is to allow people in the games group write access to
certain files only ... so yes, 'normal' users can cheat ... but then again,
any old person could d/l the game, play it, and cheat ...
unless i'm missing some aspect of nethack where 1 person cheating affects
others ...
Well, normally to cheat you need root priveleges, which isn't guaranteed.
Especially if a server is being used for obsessive comparison of nethack
accomplishments :).
Also, doesn't seem to be using my default umask, but giving user group write
priveleges - so other people can erase my savegame, or otherwise mess with
it.