Hi Sahil,
On Tue, 5 Oct 2004 [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 5 Oct 2004 17:09:17 -0400 Subject: Re: locking problem in imap-2002b
Quoting Peter Ip <[EMAIL PROTECTED]>:
[...]
Just to clarify, user 23048 held the lockfile for user 64763's INBOX?
Yes, that's correct.
Ok. :) Now, how is that possible if 64763's INBOX is u+rw, with everyone else (including those in the mailuser group) lacking permission?
Well, actually, user 23048 had his own INBOX opened, not 64763's. So it's not the permissions on the INBOXes that are the problem. It's that the lock file in /tmp had the inode of 64763's INBOX.
Could there be a race condition?
These are unix format inboxes. (We are slowly migrating to MBX format.) Is there a situation where a temporary INBOX is created e.g. for expunge and if two imapds are running at the same time that one imapd gets the inode of another's temp file?
Peter
_____________________________________________________ Peter Ip, PhD Computing and Network Services, University of Toronto email: [EMAIL PROTECTED]
