Bug 62326

Summary: man page doesn't specify requirement for (at least) 6 Xs
Product: [Retired] Red Hat Linux Reporter: Need Real Name <aah>
Component: mktempAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: low Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-29 18:20:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-03-29 18:20:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020328

Description of problem:
mktemp apparently requires (and only uses) 6 Xs on the filename to create a
temporary file.  Nowhere in the man page does it mention this requirement.  In
fact, the man page implies that 'mktemp fooX' should work if there is no
conflict.  The man page should mention the requirement, or the binary should be
fixed to allow the user to specify fewer Xs.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. cd /tmp
2. mkdir aahatvolunteermatch
3. cd aahatvolunteermatch
4. mktemp fooXXX

Actual Results:  Cannot create temp file fooXXX

Expected Results:  should have created a temp file named 'fooXXX', where X ==
some random alphanumeric

Comment 1 Ngo Than 2002-03-31 10:32:05 UTC
then man page in mktemp-1.5-14 is fixed now. thanks