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

Re: Bug#448586: "No such file or directory" misleading

On Tue, Oct 30, 2007 at 05:17:42PM +0800, jidanni@jidanni.org wrote:

||  I guess what bothers me is
||  >> # ed /etc/fonts/conf.d/61-traditional.conf
||  >> /etc/fonts/conf.d/61-traditional.conf: No such file or directory
||  makes me need to check "do I need to create the directory?" instead of
||  just proceeding to edit the file.
||  $ vi /zzz/qqq is worse. It only checks when it's time to write the
||  file!

Use vim. On the status line, it says in large, friendly letters:

    "/zzz/qqq" [New DIRECTORY]

In which case, don't panic, but just do from command mode:

    :!mkdir /zzz<return>

and the directory is created, should you have the permissions for that,
of course.

Ciao.                                                          Vincent.
Vincent Zweije <zweije@xs4all.nl>    | "If you're flamed in a group you
<http://www.xs4all.nl/~zweije/>      | don't read, does anybody get burnt?"
[Xhost should be taken out and shot] |            -- Paul Tomblin on a.s.r.

Attachment: signature.asc
Description: Digital signature

Reply to: