<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39901 >
> [wsimpson - Sun Nov 25 00:40:20 2007]:
> That's not accurate. Only when you wish to restrict the file mode mask.
> Without looking hard at this code, I don't see any reason we'd want to
> restrict the mask. That's not traditional.
> Is this a Fedora only kind of thing?
Not really, it's more of a security thing.
Quote from one of our kernel guys: "The problem is that without a mode
being passed, the kernel uses whatever the stack contents are. And yes,
its conceivable the stack contents could create a world writable setuid
file which cannot ever be the intended operation."
Freeciv-dev mailing list