[cod] .callofduty4 file question

Miano, Steven M. Steven.Miano at mybrighthouse.com
Fri Nov 30 13:52:58 EST 2007


> -----Original Message-----
> From: Brandon Ewing [mailto:nicotine at warningg.com]
> Sent: Thursday, November 29, 2007 8:17 PM
> To: cod at icculus.org
> Subject: Re: [cod] .callofduty4 file question
>
> On Thu, Nov 29, 2007 at 06:57:02PM -0600, Clanwarz wrote:
> >
> >    Sorry but Ryan is correct... If you should need some help, my email
> is my
> >    msn, I'd be more than happy to help.
> >
> >    --jay
>
> Here's a quick test I just ran that anyone can duplicate:
>
> [nicotine at server ~]$ HOME=/incorrect
> /usr/local/games/cod4-linux-server/cod4_lnxded +set dedicated 2 +set
> sv_punkbuster 1 +set fs_homepath /home/nicotine +set fs_basepath
> /usr/local/games/cod4-linux-server/ +exec server.cfg +exec
> hardcore_settings.cfg +exec custom_hq.cfg +map_rotate
> CoD4 MP 1.0 build linux-i386 Nov 21 2007
> begin $init
> ----- FS_Startup -----
> Sys_Error: Unable to create directory "/incorrect/.callofduty4", error is
> No
> such file or directory(2)
>
> Hence, the binary wants to write to $HOME/.callofduty4, as previously
> stated.  fs_home/basepath have nothing to do with that error.
>
>
> --
> Brandon Ewing
> (nicotine at warningg.com)


Create the directory, it can't write to a directory that doesn't exist. Be sure to change the permissions, or ownership when you do create the /incorrect directory on your system.

If you change you $HOME directory the game is going to attempt to write the your $HOME directory, so that's clever - but you can create a user without creating a password, comment, or even a home directory. The +set fs_homepath /home/nicotine didn't also write a .callofduty4 file there as well?

~Steven

CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it.



More information about the Cod mailing list