Bug 469054

Summary: Maildir resource creates some of its directories in parent directory
Product: [Frameworks and Libraries] Akonadi Reporter: Vadim A. Misbakh-Soloviov (mva) <kde>
Component: Maildir ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version: 5.22.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vadim A. Misbakh-Soloviov (mva) 2023-04-27 13:18:30 UTC
Hi there!

I noticed, that akonadi_maildir_resource creates directories "cur", "new" and "tmp" in it's parent directory.
I.e. if I set it's working directory to ~/.local/share/mail, then it will create the dirs in ~/.local/share. Which is nonsense, imho.


STEPS TO REPRODUCE
1. Open akonadiconsole
2. Open settings dialog of maildir resource
3. set it to some path
4. check parent directory of that path for appeared "cur", "new", and "tmp" directories

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8