Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8754 - Tuxracer will not run after emerging it
Summary: Tuxracer will not run after emerging it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-04 13:12 UTC by Angel Ortiz
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Angel Ortiz 2002-10-04 13:12:06 UTC
I searched bugzilla for tuxracer and tried multiple searches for games so if
this is a duplicate bug please forgive me :)

After an emerge tuxracer when trying to play the game I get the following error:

*** tuxracer error: Can't find the tuxracer data directory. Please check the
value of `data_dir' in ~/.tuxracer/options and set it to the location where you
installed the tuxracer-data files.

Couldn't chdir to /usr/share/tuxracer (Permission denied) 

I checked the permissions of that directory and here is what I get

ls -l /usr/share/tuxracer
total 36
-r--r--r--    1 root     games         192 Oct  3 11:17 README
dr--r--r--    9 root     games         148 Oct  3 11:17 courses
dr--r--r--    2 root     games          80 Oct  3 11:17 fonts
dr--r--r--    2 root     games         116 Oct  3 11:17 music
dr--r--r--    2 root     games        4096 Oct  3 11:17 sounds
dr--r--r--    2 root     games        4096 Oct  3 11:17 textures
-r--r--r--    1 root     games       14445 Oct  3 11:17 tux.tcl
-r--r--r--    1 root     games        7058 Oct  3 11:17 tuxracer_init.tcl

I did not change any of the permissions.  I left them as the ebuild assigned
them.  Thanks to dioxmat on the forums he suggested that I "try chmod ug+Xw or
something like that to get the correct permissions for root and games. (you need
exec on the directory, write for everything) ..."  That got the game working,
but it looks like the permissions are getting borked by the ebuild.
Comment 1 mat 2002-10-04 13:47:26 UTC
from the ebuild :

        cp -R tuxracer-data-0.61/* ${D}/usr/share/tuxracer
        chmod -R 444 ${D}/usr/share/tuxracer
        chown -R root:games ${D}/usr/share/tuxracer

note the 444 :)

Comment 2 SpanKY gentoo-dev 2002-10-04 14:10:20 UTC
done and done 
Comment 3 SpanKY gentoo-dev 2002-10-04 14:15:10 UTC
444 is correct (for files) 
but for directories it needs +x