|
From: | Antonio Diaz Diaz |
Subject: | Re: Warn when parent directory doesn't exist |
Date: | Thu, 23 Nov 2023 18:41:37 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Dan Jacobson wrote:
We got the same initial warning, but we need another initial warning: "Parent directory doesn't exist." Otherwise we think we will be able to write when the time comes to do so, but will be alarmed when we can't.
What about making ed create the missing intermediate directories, as two of my programs (moe and zupdate) already do?
BTW, there is a third case: the parent directory exists but you don't have permission to create a file there.
Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |