First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 28010
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: prower <prower2000@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 28010 depends on: Show dependency tree
Bug 28010 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-05 11:23 0000
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 "orpg/main.py", line 949, in AfterSplash
    self.frame = orpgFrame(NULL, -1, "OpenRPG v"+VERSION)
  File "orpg/main.py", line 248, in __init__
    s = orpg.tools.orpg_settings.settings()
  File "orpg/tools/orpg_settings.py", line 214, in __init__
    self.setup_ini(ini_xml)
  File "orpg/tools/orpg_settings.py", line 219, in setup_ini
    config_files.validate_config_file(ini_xml,"default_ini.xml")
  File "orpg/tools/config_files.py", line 10, in validate_config_file
    newfile = open(orpg.dirpath.dir_struct["user"] + user_file,"w")
IOError: [Errno 13] Permission denied: '/usr/share/games/openrpg/myfiles/ini.xml'

------- Comment #1 From Brian Jackson (RETIRED) 2003-09-06 12:10:52 0000 -------
adding a fperms 770 for the dodir ${GAMES_DATADIR}/${PN} should do 
the trick 

------- Comment #2 From SpanKY 2003-09-18 23:00:42 0000 -------
fixed in cvs

First Last Prev Next    No search results available      Search page      Enter new bug