rmdir deletes the entire maildir

With the following structure, when running :rmdir -f on Abc, the entireMaildir is deleted by aerc.


Important info: this structure was created by a sieve operation, so Abc and def have not been initialized and hence, when cd-ing into them, the following error is thrown:

Personal: open /home/moritz/.mail/moritz.sh/INBOX/Abc/new: no such file or directory

The deleted directory is /home/moritz/.mail/moritz.sh, which is the root of the maildir

In my opinion it should either just not delete at all or – preferably – the invalid directory that is selected.

Assigned to
1 year, 9 months ago
1 year, 3 months ago
bug maildir

~rockorager 1 year, 6 months ago

I can't reproduce this with my test account on your server, ~poldi1405 can you try reproducing again?

~poldi1405 1 year, 6 months ago

I can't either (fortunately)

I still have to restart aerc though, since it stops working altogether: https://asciinema.org/a/mNdpJRKOT50VZHZAR37ff0xcP

-- Moritz Poldrack https://moritz.sh

~poldi1405 REPORTED INVALID 1 year, 3 months ago

Have tried multiple ways of reproducing this, but was not able to. So for now I'll close it.

Register here or Log in to comment, or comment via email.