[CF-Devel] Directory permissions
crossfire-devel-admin at archives.real-time.com
crossfire-devel-admin at archives.real-time.com
Tue Mar 25 01:56:08 CST 2003
Joris Bontje wrote:
>
New directories created by the crossfire server are mode 777
>
which means that they are world readable and writable!
>
>
The filemodes however are 660.
>
Would there be a problem changing the directory mode in (atleast) 770 ?
Well, there is a SAVE_MODE value in config.h, set to 660, which is probably
why you see the filemodes show up that way.
There should probably be something like a SAVE_MODE_DIR or whatever to set
what hte directory permissions should be. Having it hardcode to 777 is pretty
horendous.
I'd tend to guess that most of the save modes are back from the day when the
server was the client, so you might get multiple users running it at the same
time (or different users running it). That certainly isn't the case anymore.
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list