Bug#448586: "No such file or directory" misleading
On 2007-10-30 09:36, firstname.lastname@example.org wrote:
> This message made by several programs is misleading:
> # ed /etc/fonts/conf.d/61-traditional.conf
> /etc/fonts/conf.d/61-traditional.conf: No such file or directory
I don't agree.
> # ls /etc/fonts/conf.d/61-traditional.conf
> ls: /etc/fonts/conf.d/61-traditional.conf: No such file or directory
> It should be just "no such file" as indeed there is such a directory:
There is a directory named "/etc/fonts/conf.d/61-traditional.conf"? I
don't think so, at least not on your system, according to the above.
Background: Since there is no "61-traditional.conf" in
/etc/fonts/conf.d, who can tell whether that should be a file or a
directory (or a pipe, or a socket, or a device, or whatever else)? Thus
the general message.