Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28104 - nethack-3.4.1-r1 cannot save games
Summary: nethack-3.4.1-r1 cannot save games
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-07 02:58 UTC by gna
Modified: 2003-10-21 20:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gna 2003-09-07 02:58:24 UTC
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
Comment 1 SpanKY gentoo-dev 2003-09-14 22:30:26 UTC
this should be fixed ...

*** This bug has been marked as a duplicate of 26586 ***
Comment 2 SpanKY gentoo-dev 2003-09-14 23:53:04 UTC
hmm you're right

i fixed this is 3.4.2
Comment 3 SpanKY gentoo-dev 2003-09-14 23:55:36 UTC
use 3.4.2
Comment 4 bugs 2003-10-21 07:52:38 UTC
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.
Comment 5 bugs 2003-10-21 07:53:55 UTC
Oh, also falcon's eye uses a completely different save location.
Instead of:
/var/games/falconseye/save
It uses:
/usr/share/falconseye/save/
Comment 6 SpanKY gentoo-dev 2003-10-21 13:01:17 UTC
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
Comment 7 bugs 2003-10-21 13:42:18 UTC
Soooo, just to be clear.  Nethack is *meant* to allow ordinary users to cheat?
'cause that's not the normal nethack install behaviour.
Comment 8 SpanKY gentoo-dev 2003-10-21 19:29:37 UTC
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 ...
Comment 9 bugs 2003-10-21 20:36:13 UTC
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.