[Dovecot] permission problems
Hi, ever since i switched a few servers to 1.1RC4 im finding control dirs with the wrong permissions:
80023615 8 drw------- 2 xxxxxxx user 4096 Apr 23 09:46 ./a/an/xxxxxxx/INBOX/.INBOX.Maatschappijen
When dovecot then wants to write a file inside, it gets a permission denied.
Cor
On Fri, 2008-04-25 at 11:47 +0200, Cor Bosman wrote:
Hi, ever since i switched a few servers to 1.1RC4 im finding control dirs with the wrong permissions:
80023615 8 drw------- 2 xxxxxxx user 4096 Apr 23 09:46 ./a/an/xxxxxxx/INBOX/.INBOX.Maatschappijen
When dovecot then wants to write a file inside, it gets a permission denied.
This is created in src/lib-storage/index/maildir/maildir-util.c maildir_create_subdirs(). But I don't see how box->dir_create_mode could be 0600 and not 0700. I also can't reproduce this in my tests. What plugins do you use? Does it work if you disable them?
This is created in src/lib-storage/index/maildir/maildir-util.c maildir_create_subdirs(). But I don't see how box->dir_create_mode could be 0600 and not 0700. I also can't reproduce this in my tests. What plugins do you use? Does it work if you disable them?
Could it be old data that is only showing up because of 1.1 and was ignored or fatal in 1.0?
Cor
On Fri, 2008-04-25 at 12:40 +0200, Cor Bosman wrote:
This is created in src/lib-storage/index/maildir/maildir-util.c maildir_create_subdirs(). But I don't see how box->dir_create_mode could be 0600 and not 0700. I also can't reproduce this in my tests. What plugins do you use? Does it work if you disable them?
Could it be old data that is only showing up because of 1.1 and was ignored or fatal in 1.0?
The code was different in v1.0, but in both cases if you have 0600 directory it would have failed the same way.. Can you reproduce this if you create a new mailbox and select it?
Could it be old data that is only showing up because of 1.1 and was ignored or fatal in 1.0?
The code was different in v1.0, but in both cases if you have 0600 directory it would have failed the same way.. Can you reproduce this if you create a new mailbox and select it?
I can not reproduce it. All i can say emperically that I have folders with creation dates after i installed 1.1, that have the wrong permission. I'll fix them all and see if new ones pop up.
Cor
participants (2)
-
Cor Bosman
-
Timo Sirainen