The update runs with rights of the user that invoked the script. So, you 
could just give the file group read permissions, and deny the "owner" 
any rights at all, that way the script won't be able to overwrite that file.

On 20/02/2010 9:26 PM, -xL-Trinidad wrote:
> have that allready, wanted just to mention that writeprotecting does not work 
> since the update runs propably with admin rights and can overwrite the files 
> anyway.
>    ----- Original Message -----
>    From: Shane Arnold
>    To: Half-Life dedicated Win32 server mailing list
>    Sent: Saturday, February 20, 2010 9:34 AM
>    Subject: Re: [hlds] Left 4 Dead 2 Update Released
>
>
>    It's easier to use the motdfile and hostfile commands in your server.cfg
>
>    It will save you a lot of heartache, and gives you better control over
>    your servers anyway.
>
>    On 20/02/2010 4:23 PM, -xL-Trinidad wrote:
>    >  that doesnt work for me. They are still overwritten.
>    >     ----- Original Message -----
>    >     From: Michael Krasnow
>    >     To: Half-Life dedicated Win32 server mailing list
>    >     Sent: Saturday, February 20, 2010 3:16 AM
>    >     Subject: Re: [hlds] Left 4 Dead 2 Update Released
>    >
>    >
>    >     or making them read only
>    >
>    >     On Fri, Feb 19, 2010 at 7:42 PM, Aaron A. 
> Maricic<pennsta...@gmail.com>wrote:
>    >
>    >     >   Hello,
>    >     >
>    >     >   You can correct that issue by creating separate host.txt and 
> motd.txt
>    >     >   files, and then placing two lines in your server.cfg file 
> pointing to
>    >     >   those alternate file names (whatever they may be).
>    >     >
>    >     >   hostfile "host_custom.txt"
>    >     >   motdfile "motd_custom.txt"
>    >     >
>    >     >   Hope this helps!
>    >     >
>    >     >   Joeri van der Velden wrote:
>    >     >   >   I notice that every L4D2 update, it overwrites the host.txt 
> and motd.txt
>    >     >   in
>    >     >   >   the left4dead2 folder. It's a minor issue but it's pretty 
> annoying that I
>    >     >   >   have to replace every time again.
>    >     >   >
>    >     >   >   2010/2/20 AJ King<pcmaster...@hotmail.com>
>    >     >   >
>    >     >   >
>    >     >   >>   Nice one.
>    >     >   >>
>    >     >   >>   Thanks,
>    >     >   >>
>    >     >   >>   Alex King
>    >     >   >>
>    >     >   >>
>    >     >   >>
>    >     >   >>
>    >     >   >>
>    >     >   >>
>    >     >   >>>   From: jas...@valvesoftware.com
>    >     >   >>>   To: hlds_li...@list.valvesoftware.com; 
> hlds@list.valvesoftware.com;
>    >     >   >>>
>    >     >   >>   hlds_annou...@list.valvesoftware.com
>    >     >   >>
>    >     >   >>>   Date: Fri, 19 Feb 2010 14:55:12 -0800
>    >     >   >>>   Subject: [hlds] Left 4 Dead 2 Update Released
>    >     >   >>>
>    >     >   >>>   A required update for Left 4 Dead 2 is now available.  
> Please run
>    >     >   >>>
>    >     >   >>   hldsupdatetool to receive the update.  The specific changes 
> include:
>    >     >   >>
>    >     >   >>>   - Fixed all bot teams not leaving the starting area if 
> sb_all_bot_team
>    >     >   1
>    >     >   >>>
>    >     >   >>   was set
>    >     >   >>
>    >     >   >>>   - Fixed a case where survivor bots would fail to rescue a 
> friend from
>    >     >   >>>
>    >     >   >>   charger attacks
>    >     >   >>
>    >     >   >>>   - Updated Thai translations
>    >     >   >>>   - Fixed an issue where servers wouldn't relist after the 
> master server
>    >     >   >>>
>    >     >   >>   was bounced
>    >     >   >>
>    >     >   >>>   - Fixed Charger jumping exploit
>    >     >   >>>   - Fixed Spitter bug where spit could emit from a location 
> several
>    >     >   inches
>    >     >   >>>
>    >     >   >>   from the head, causing the spit to unexpectedly strike 
> nearby objects
>    >     >   and
>    >     >   >>   fall
>    >     >   >>
>    >     >   >>>   Jason
>    >     >   >>>
>    >     >   >>>   _______________________________________________
>    >     >   >>>   To unsubscribe, edit your list preferences, or view the 
> list archives,
>    >     >   >>>
>    >     >   >>   please visit:
>    >     >   >>
>    >     >   >>>   http://list.valvesoftware.com/mailman/listinfo/hlds
>    >     >   >>>
>    >     >   >>   
> _________________________________________________________________
>    >     >   >>   We want to hear all your funny, exciting and crazy Hotmail 
> stories. Tell
>    >     >   us
>    >     >   >>   now
>    >     >   >>   http://clk.atdmt.com/UKM/go/195013117/direct/01/
>    >     >   >>   _______________________________________________
>    >     >   >>   To unsubscribe, edit your list preferences, or view the 
> list archives,
>    >     >   >>   please visit:
>    >     >   >>   http://list.valvesoftware.com/mailman/listinfo/hlds
>    >     >   >>
>    >     >   >>
>    >     >   >   _______________________________________________
>    >     >   >   To unsubscribe, edit your list preferences, or view the list 
> archives,
>    >     >   please visit:
>    >     >   >   http://list.valvesoftware.com/mailman/listinfo/hlds
>    >     >   >
>    >     >
>    >     >   _______________________________________________
>    >     >   To unsubscribe, edit your list preferences, or view the list 
> archives,
>    >     >   please visit:
>    >     >   http://list.valvesoftware.com/mailman/listinfo/hlds
>    >     >
>    >     _______________________________________________
>    >     To unsubscribe, edit your list preferences, or view the list 
> archives, please visit:
>    >     http://list.valvesoftware.com/mailman/listinfo/hlds
>    >  _______________________________________________
>    >  To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
>    >  http://list.valvesoftware.com/mailman/listinfo/hlds
>    >
>
>    _______________________________________________
>    To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
>    http://list.valvesoftware.com/mailman/listinfo/hlds
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>    

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to