bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in mkdir: Misleading Error Message


From: Dmytro Taranovsky
Subject: Bug in mkdir: Misleading Error Message
Date: Mon, 06 Sep 2004 11:20:48 -0400

Description:  Suppose that the current directory has no file or
directory named new and you invoke
mkdir new/new
The output is the error message
mkdir: cannot create directory `new/new': No such file or directory

This appears to claim that 'new/new' cannot be created because it does
not exist. However, 'new/new' is not supposed to exist since I want to
create it.

Correct Behavior:  mkdir should print a more accurate error message,
such as "Parent directory does not exist".

Version:  mkdir 4.5.3.

Dmytro Taranovsky




reply via email to

[Prev in Thread] Current Thread [Next in Thread]