On Wednesday, August 28, 2002, at 03:27 PM, Todd Lyons wrote:
>>> I got a repeatable here: >>> Please test: ``mktemp file.XXX'' >>> I get: ``Cannot create temp file file.XXX'' >> This is because you're using mktemp wrong. You need 6 X's... ie. >> mktemp file.XXXXX >> file.0AgVNF >> Read the manpage... it indicates that 6 X's are required in the >> template. > > This is new I believe (the requirement of 6). I've used it in the past > with 4 X's and it worked fine. (Just wanted to let Han know that he > wasn't crazy...errr...not too much at least :) You're 100% positive on this? Was it on Mandrake you used 4 X's, or BSD? I've got 7.2 up in vmware for some security testing and just ran "mktemp file.XXXX" and get the cannot create error, and the manpage indicates 6 X's. I don't think it changed from 7.2 to cooker (ie. from 6 to 4 and back to 6). -- MandrakeSoft Security; http://www.mandrakesecure.net/ FE6F2AFD: "lynx -source http://linsec.ca/vdanen.asc | gpg --import" Fingerprint: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD
PGP.sig
Description: PGP signature
