19 Mar
2003
19 Mar
'03
4:23 p.m.
On Wed, 2003-03-19 at 16:04, Jaldhar H. Vyas wrote:
Files in the above dir are group mail, and the dir is group mail. However, all binaries in /usr/lib/dovecot are root/root. I have set them all to g+s, and group mail, and now the imap process can lock the INBOX.
Is dotlocking still a work in progress or are we missing something here?
Only solution for now is to set /var/mail world-writable and sticky.
Another way would be to use more privileged process for handling lock files. Some programs use setuid or setgid binary for that. I was thinking that I'd let imap process request the locks from master process. That would also allow overriding stale lock files created by other users with shared mailboxes.