<?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>28010</bug_id>
          
          <creation_ts>2003-09-05 11:23 0000</creation_ts>
          <short_desc>OpenRPG attempts to save a file to a directory without permissions</short_desc>
          <delta_ts>2003-09-18 23:00:42 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>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>prower2000@hotmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>prower2000@hotmail.com</who>
            <bug_when>2003-09-05 11:23:34 0000</bug_when>
            <thetext>The most recent version of OpenRPG in Portage attempts to create a settings XML
file in /usr/share/games/openrpg/myfiles/ini.xml, which normal users do not have
permission to write to. The following will appear in the console when run:

Traceback (most recent call last):
  File &quot;orpg/main.py&quot;, line 949, in AfterSplash
    self.frame = orpgFrame(NULL, -1, &quot;OpenRPG v&quot;+VERSION)
  File &quot;orpg/main.py&quot;, line 248, in __init__
    s = orpg.tools.orpg_settings.settings()
  File &quot;orpg/tools/orpg_settings.py&quot;, line 214, in __init__
    self.setup_ini(ini_xml)
  File &quot;orpg/tools/orpg_settings.py&quot;, line 219, in setup_ini
    config_files.validate_config_file(ini_xml,&quot;default_ini.xml&quot;)
  File &quot;orpg/tools/config_files.py&quot;, line 10, in validate_config_file
    newfile = open(orpg.dirpath.dir_struct[&quot;user&quot;] + user_file,&quot;w&quot;)
IOError: [Errno 13] Permission denied: &apos;/usr/share/games/openrpg/myfiles/ini.xml&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iggy@gentoo.org</who>
            <bug_when>2003-09-06 12:10:52 0000</bug_when>
            <thetext>adding a fperms 770 for the dodir ${GAMES_DATADIR}/${PN} should do 
the trick </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-09-18 23:00:42 0000</bug_when>
            <thetext>fixed in cvs</thetext>
          </long_desc>
      
    </bug>

</bugzilla>