Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 7770

Summary: mkdir displays mangled text
Product: [Retired] Red Hat Linux Reporter: Riley H Williams <rhw>
Component: fileutilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.1CC: linux
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-12-12 20:49:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Riley H Williams 1999-12-12 17:03:54 UTC
The mkdir command produces a mangled display text when it is run in verbose
mode and also creates multiple levels of directories at the same time.

As an example, assuming that /tmp/a does not exist, try the following:

    mkdir -p --verbose /tmp/a/b/c/d/e/f/g/h/i/j/k/l/m

I would tend to suspect that there's a \n missing from at least one
printf() in the mkdir source code, but have no idea which author is
responsible for maintaining this command, so have reported it here and hope
somebody here can forward it to the relevant person.

Comment 1 Bernhard Rosenkraenzer 1999-12-12 17:43:59 UTC
Thanks,
I've fixed the bug in fileutils 4.0-11 (rawhide) and passed the patch on to the
maintainers of the base package.

Comment 2 Riley H Williams 1999-12-12 20:49:59 UTC
Thanks for that.

I have to admit that I'd also like to see the -v short-form for the --verbose
option available in mkdir like it is in just about every other command, but
that's probably no more than wishful thinking on my part...

Anyway, bug closed.