Timo Sirainen wrote:
On Thu, 2009-06-25 at 12:07 +0100, Stuart Rowan wrote:
However, we have a shared mailbox that people can subscribe to. After upgrading to 1.1.13 ... dovecot tries to create a dovecot-acl-list file in the top level of this ... but it creates it chown'd to the first logged in user with a umask of -rw- --- ---
A. -rw------- 1 userA shared 17179 2009-06-25 11:10 /home/imapshared/SharedMaildir/dovecot-acl-list
See if setting umask = 0007 to dovecot.conf helps? With v1.2+ this is no longer necessary.
Well that problem has not reoccurred yet today but I've made the change you suggest anyway.
Now we're on to: dovecot: 2009-06-25 18:50:15 Error: IMAP(strr): fchown() failed with file /home/local/strr/Maildir/index/Archive/.junk/dovecot.index.log: Operation not permitted dovecot: 2009-06-25 18:54:15 Error: IMAP(strr): fchown() failed with file /home/local/strr/Maildir/index/Archive/.junk/dovecot.index.log: Operation not permitted
Bizarrely the similarly placed .junk-2008 folder has no problems creating the 'strr' specific index files.
I've tried deleting the folders / files and chowning/chmodding until I'm blue in the face and since the umask change they are now created with a umask of 0007 ... but the error keeps coming back in the logs.
Let me know if you need more information
Cheers, Stu.