Comment 6 for bug 1181847

Revision history for this message
Mikhail Kurinnoi (viewizard) wrote :

I have same drwxr-xr-x on my Gentoo...

This is strange, because I tested game on fresh installed Ubuntu in VirtualBox, and don't find any security issue with ~/.config folder. Moreover, I usually use live-CD for test compilation from upstream SVN and game test to be sure that Ubuntu users could use upstream code for game compilation and launch.

Ok, could you please manually create ~/.config/astromenace (drwxr-xr-x permission should be fine). I am interesting, if game could create and rewrite ~/.config/astromenace/amconfig.xml file at all.

----------------------------------
I put related code here, just in case. Maybe, I do something wrong, and upstream code need correction.

1) ~/.config/astromenace creation code:

mkdir(ConfigDirName, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
where ConfigDirName set to "~/.config/astromenace"

2) ~/.config/astromenace/amconfig.xml creation code:

SDL_RWops *File = SDL_RWFromFile(ConfigFileName, "wb");
where ConfigFileName set to "~/.config/astromenace/amconfig.xml"