<div class="markdown">
<p dir="auto">On 18 Sep 2013, at 16:05, Felix Kling wrote:</p>
<blockquote>
<p dir="auto">I started playing around with <a href="https://en.wikipedia.org/wiki/EncFS">encfs</a> lately and also wanted to secure my mails by mounting the encrypted filesystem at</p>
<p dir="auto">~/Library/Application Support/MailMate</p>
<p dir="auto">This worked at first, but when I try to start MailMate now, it crashes and the log only shows:</p>
<blockquote>
<p dir="auto">rmdir failed: Resource busy<br>
Path: /Users/kling/Library/Application Support/MailMate<br>
Abort trap: 6</p>
</blockquote>
<p dir="auto">[...]<br>
So it seems that MailMate is trying to delete this folder, but why? Could this be changed so that it works well with encfs? (Needless to say it works fine without encfs)</p>
</blockquote>
<p dir="auto">The only reason MailMate would try to delete a folder is if it sees the folder as empty. In general, when MailMate deletes a file from a folder then the folder is deleted if it's empty to keep everything as clean as possible (this is mainly to keep the <code>Messages/</code> folder clean).</p>
<p dir="auto">Apparently the code handling this is confused by the encrypted filesystem. I can, of course, make sure that MailMate never tries to delete the main folder (and I should), but that is of course no guarantee that there are no other reasons that it'll fail to work.</p>
<p dir="auto">Thanks for the report.</p>
<p dir="auto">-- <br>
Benny</p>
</div>