[Dovecot] list command and shared folders
Wolfram Greinert
greinert at rz.uni-leipzig.de
Wed Jun 16 12:43:58 EEST 2010
On Tue, Jun 15, 2010 at 02:50:26PM +0100, Timo Sirainen wrote:
> On Tue, 2010-06-15 at 15:07 +0200, Wolfram Greinert wrote:
> > > acl_shared_dict = file:/var/lib/dovecot/acl_dict
> >
> > I try this, no success :-(
> >
> > chmod 0777 /var/lib/dovecot
> > touch /var/lib/dovecot/acl_dict
> > chown dovecot:dovecot /var/lib/dovecot/acl_dict
>
> You shouldn't create any files owned by dovecot user (even though it's
> 0666 permission here, it's still a bad habit :)
> http://wiki.dovecot.org/UserIds
okay, I try this also with other users (root, nobody, ...), the same result :-)
>
> > chmod 0666 /var/lib/dovecot/acl_dict
> >
> > now user test2 say "setacl t2_t4 test4 lrwsi" and:
> >
> > -rw------- 1 test2 users /var/lib/dovecot/acl_dict
>
> I fixed this a few days ago:
> http://hg.dovecot.org/dovecot-1.2/rev/0b0cb71aea03
>
it's work !
> It should have logged an error. No one who has reported this bug has
> looked at their logs :(
I see logs like this:
setacl:
fchown(/var/lib/dovecot/acl_dict.lock, -1, 0) failed: Operation not permitted
getacl (after setacl from other user):
open(/var/lib/dovecot/acl_dict) failed: Permission denied
and don't know is this a bug or a feature:
- file:/var/lib/dovecot/acl_dict only with virtual users (same uid for all)
- with real users and distinct uid use sqlite, mysql .... ( I hope also db in the
future :-))
>
--
###########################################
# Wolfram Greinert #
# URZ der Uni Leipzig, Abteilung Netze #
# 04109 Leipzig, Neumarkt 9-19 #
# Tel.: +(0341) 97-33325 #
# email: greinert at rz.uni-leipzig.de #
###########################################
More information about the dovecot
mailing list