[EMAIL PROTECTED]@127.0.0.1:] Unable to aquire mailbox scan lock ./bincimap-scan-lock, Permission denied
This is very bad log output, I agree. Binc is trying to create the scan lock inside your "root level" Maildir, for example $HOME/Maildir/.
I must have been tired to not notice this...
17905: open("./bincimap-scan-lock", O_WRONLY|O_CREAT|O_EXCL, 017777763300) Err#13 EACCES
Investigating a bit...
So, this fixes it for me:
--- ./bincimap-1.2.3/src/maildir-scan.cc 2003-09-18 01:25:28.000000000 -0400
+++ ./bincimap-1.2.3-jp/src/maildir-scan.cc 2004-01-06 04:07:09.121007000 -0500
@@ -64,7 +64,7 @@
int lockfd = -1;
while ((lockfd = ::open(lock.c_str(),
- O_CREAT | O_WRONLY | O_EXCL)) == -1) {
+ O_CREAT | O_WRONLY | O_EXCL, 0600)) == -1) {
if (errno != EEXIST) {
logger << "Unable to aquire mailbox scan lock " << lock
<< ", " << string(strerror(errno)) << endl;
With the corresponding truss:
18843: open("./bincimap-scan-lock", O_WRONLY|O_CREAT|O_EXCL, 0600) = 3
Maybe someone who understands this better than me could tell me where your flags came from (017777763300)?
Unrelated question, I note that cache files aren't created for IMAP folders other than the main folder. Is this by design? I see an attempt to open a cache, but one is not created.
- Jason Parsons
--
Saffron Solutions, LLC <http://www.saffron.net> System, Network, and Security Consulting E-Commerce, Web Site, and E-Mail Hosting
