<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p id="reply-intro">On 2019-12-02 03:30, Owen Thomas wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr">
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Mon, 2 Dec 2019 at 19:24, Colin Watson <<a href="mailto:cjwatson@ubuntu.com" rel="noreferrer">cjwatson@ubuntu.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">One problem that would be fixable, though, is that you are getting empty<br />output from "ls" (and even a zero exit status, when I test this<br />locally!) rather than an error message.  That seems to me like a clear<br />bug in coreutils and I think should be reported as such.</blockquote>
<div> </div>
<div>Hmmm... yes, I don't think I would have winged if what you suggest had actually been the case. Hence, I might just report it.</div>
<div> </div>
<div>  Owen.</div>
<div> </div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_quote"> </div>
</div>
<p>My guess: your directory tree has been deleted, *but you're still in that directory* so it's not getting reaped.  So the directory still exists.  Let me show:</p>
<p><br /></p>
<p>ken@strider:~ (QA)$ cd /tmp<br />ken@strider:/tmp (QA)$ mkdir foobar<br />ken@strider:/tmp (QA)$ cd foobar<br />ken@strider:/tmp/foobar (QA)$ rmdir -rf ../foobar<br />rmdir: invalid option -- 'r'<br />Try 'rmdir --help' for more information.<br />ken@strider:/tmp/foobar (QA)$ rmdir ../foobar<br />ken@strider:/tmp/foobar (QA)$ pwd<br />/tmp/foobar<br />ken@strider:/tmp/foobar (QA)$ ls /tmp | grep foobar<br />ken@strider:/tmp/foobar (QA)$ mkdir /tmp/foobar<br />ken@strider:/tmp/foobar (QA)$ touch /tmp/foobar/file<br />ken@strider:/tmp/foobar (QA)$ ls<br />ken@strider:/tmp/foobar (QA)$ ls /tmp/foobar/file<br />/tmp/foobar/file<br />ken@strider:/tmp/foobar (QA)$ ls /tmp/foobar/<br />file<br />ken@strider:/tmp/foobar (QA)$ date > /tmp/foobar/date<br />ken@strider:/tmp/foobar (QA)$ cat /tmp/foobar/date<br />Mon Feb 10 16:07:57 EST 2020<br />ken@strider:/tmp/foobar (QA)$ cat date<br />cat: date: No such file or directory</p>
<p>Bottom line: there's a /tmp/foobar that the system generally knows about, and there's a /tmp/foobar that *only my bash session* knows about.  This is not a bug, but is expected behavior for deleted-but-not-reaped files/directories.</p>
<p>-Ken</p>

</body></html>