On Tue, 2010-01-26 at 12:34 -0400, Cor Bosman wrote:
Hi all, i just investigated a user complaint and found a read-only dovecot-uidlist. Since dovecot couldnt write it, the process failed. Users can not reach this file, so how this became readonly is beyond me. Must be something in dovecot. Maybe an older bug?
What were the file's permissions (owner, group, mode)? I think it's unlikely it is/was a Dovecot bug..
The user was the owner, permissions were 0400, group was our normal group. Everything was the same as others except for the mode, 0400 instead of 0600. We have nothing operating on these files (well, except for a deleted user wipe script), so i dont get what it could be if it isnt dovecot. NFS bug? Could be I suppose.
What about the file's mtime? I guess maybe if it was some ancient v1.0.x file and maybe if you had temporarily changed umask, that might have happened.. Although it wouldn't have tried to append to v1.0.x uidlist file, it would have recreated it.