[crossfire] Patches on tracker

Nicolas Weeger nicolas.weeger at laposte.net
Mon May 7 15:52:51 CDT 2007


Le samedi 05 mai 2007 23:10, Mark Wedel a écrit :
>   Yes, that is a problem.
>
>   The fact that the maps are in the 'share' directory means that write
> access to that area is not a requirement.  Lack of write access could be
> for any number of reasons - permissions issues, or for some sites,
> something like that could be put on a read-only filesystem.

As a side-note, Python can write in the maps's python/ directories, since 
Python compiles the scripts to .pyc files.

>   IMO, for that patch to be acceptable, it must write someplace under the
> var/ install area, which is the area for read/write files.  It probably
> wouldn't be that hard to modify the respective map code such that if it
> doesn't find the map in share/maps/... to look in var/maps/...

Actually, the script uses its own apply script, so wouldn't be too hard to 
change the map path to point to some writable directory (in var?) - set 
the 'unique' map flag when loading, and you're set, server won't change the 
path :)

Nicolas
-- 
http://nicolas.weeger.free.fr [Petit site d'images, de textes, de code, bref 
de l'aléatoire !]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.metalforge.org/pipermail/crossfire/attachments/20070507/89df8903/attachment.pgp 


More information about the crossfire mailing list