Another reason why a few sources should come with binary licenses
Peter Klosky
peter at rlgvax.UUCP
Tue Sep 17 01:16:42 AEST 1985
XXX
> For security make your /tmp file 0600 mode.
Security?
This seems dubious. My idea of secure includes being able to
read back what was written, possibly from another process.
/tmp is world writeable. This means that anyone can unlink tmp files.
In particular, my application wants to pass state data from a child
process to a parent prodcess via a tmp file that the child creates,
and there are windows of vulnerability in this scheme, due to the unlink
trouble.
More information about the Comp.unix.wizards
mailing list