<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>28104</bug_id>
          
          <creation_ts>2003-09-07 02:58 0000</creation_ts>
          <short_desc>nethack-3.4.1-r1 cannot save games</short_desc>
          <delta_ts>2003-10-21 20:36:13 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gnagent2@yahoo.com.au</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gnagent2@yahoo.com.au</who>
            <bug_when>2003-09-07 02:58:24 0000</bug_when>
            <thetext>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&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-09-14 22:30:26 0000</bug_when>
            <thetext>this should be fixed ...

*** This bug has been marked as a duplicate of 26586 ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-09-14 23:53:04 0000</bug_when>
            <thetext>hmm you&apos;re right

i fixed this is 3.4.2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-09-14 23:55:36 0000</bug_when>
            <thetext>use 3.4.2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kyberneticist@yahoo.com</who>
            <bug_when>2003-10-21 07:52:38 0000</bug_when>
            <thetext>Why does falcon&apos;s eye use the old root:root 2755 while Nethack sticks with
games:games ?

The only reason I&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kyberneticist@yahoo.com</who>
            <bug_when>2003-10-21 07:53:55 0000</bug_when>
            <thetext>Oh, also falcon&apos;s eye uses a completely different save location.
Instead of:
/var/games/falconseye/save
It uses:
/usr/share/falconseye/save/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-10-21 13:01:17 0000</bug_when>
            <thetext>thats because we&apos;ve updated nethack and not falconseye ;)

theres an open bug about a newer version of falconseye ... when i update
that bug, i&apos;ll sync the format of falconseye with nethack</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kyberneticist@yahoo.com</who>
            <bug_when>2003-10-21 13:42:18 0000</bug_when>
            <thetext>Soooo, just to be clear.  Nethack is *meant* to allow ordinary users to cheat?
&apos;cause that&apos;s not the normal nethack install behaviour.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-10-21 19:29:37 0000</bug_when>
            <thetext>currently the policy is to allow people in the games group write access to
certain files only ... so yes, &apos;normal&apos; users can cheat ... but then again,
any old person could d/l the game, play it, and cheat ...

unless i&apos;m missing some aspect of nethack where 1 person cheating affects
others ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kyberneticist@yahoo.com</who>
            <bug_when>2003-10-21 20:36:13 0000</bug_when>
            <thetext>Well, normally to cheat you need root priveleges, which isn&apos;t guaranteed.
 Especially if a server is being used for obsessive comparison of nethack
accomplishments :).
Also, doesn&apos;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.

</thetext>
          </long_desc>
      
    </bug>

</bugzilla>