4 ms·
/tmp generally has more open permissions than the rest of the file system, and if you're using a known file name, you're open to that file being abused by an at
by Karunamon 10y ago
/tmp generally has more open permissions than the rest of the file system, and if you're using a known file name, you're open to that file being abused by an attacker.
I know of no good reason to not use mktemp.