On Mon, 05 Aug 2013 21:13:49 -0500 Zack Middleton <zturtle...@gmail.com> wrote:
> On 08/05/2013 08:51 PM, YuGiOhJCJ Mailing-List wrote: > > On Mon, 05 Aug 2013 12:48:43 +0100 > > Tim Angus <t...@ngus.net> wrote: > > > >> On 05/08/13 12:18, YuGiOhJCJ Mailing-List wrote: > >>> We can see that the program wants to write into the "/root" directory. > >>> The "ioq3" user has not the permission to write to this directory. > >>> What is the best strategy to correct this behavior ? > >> Put +set com_homepath /somewhere/you/can/write on the command line. > >> Alternatively use su -c instead of sudo. > >> > > # sudo -u ioq3 /usr/games/quake3/ioq3ded.i386 +exec yugiohjcj.config +set > > com_homepath /tmp > > ioq3 1.36 linux-i386 Sep 23 2012 > > ----- FS_Startup ----- > > Unable to create directory "/root/.q3a", error is Permission denied(13) > > > > Filesystem call made without initialization > > > > recursive error after: Filesystem call made without initialization > > > > ... > > > > recursive error after: Filesystem call made without initialization > > > > Segmentation fault > > > > As you can see it continues to write to the "/root" directory. > > Why it doesn't work ? > > _______________________________________________ > > ioquake3 mailing list > > ioquake3@lists.ioquake.org > > http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org > > By sending this message I agree to love ioquake3 and libsdl. > Cvar mix up. Use fs_homepath to set system home directory. com_homepath > changes ".q3a" (added after 1.36). Same problem with 'fs_homepath' than with 'com_homepath': # sudo -u ioq3 /usr/games/quake3/ioq3ded.i386 +exec yugiohjcj.config +set fs_homepath /tmp ioq3 1.36 linux-i386 Sep 23 2012 ----- FS_Startup ----- Unable to create directory "/root/.q3a", error is Permission denied(13) Filesystem call made without initialization recursive error after: Filesystem call made without initialization ... recursive error after: Filesystem call made without initialization Segmentation fault As you can see it continues to write to the "/root" directory. Why it doesn't work ? _______________________________________________ ioquake3 mailing list ioquake3@lists.ioquake.org http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.