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.
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 :)
done and done
444 is correct (for files) but for directories it needs +x