~rjarry/aerc#77: 
rmdir deletes the entire maildir

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

┌INBOX
└─>┌Abc
   └─>┌def
      └─>ghi

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.

Status
REPORTED
Submitter
~poldi1405
Assigned to
No-one
Submitted
27 days ago
Updated
27 days ago
Labels
bug maildir