[Dovecot] Dovecot cannot unlink non-empty directory

Timo Sirainen tss at iki.fi
Mon Sep 15 17:03:01 EEST 2008


On Mon, 2008-09-15 at 15:26 +0200, Włodek Waligórski wrote:
> open(".", O_RDONLY|O_LARGEFILE)         = -1 EACCES (Permission denied)

Oh. unlink_directory() tries to preserve the current directory, so it
first opens it. Since it can't, it means the user doesn't have access to
the process's current directory. So either

a) You're returning a home directory where the user doesn't have read
access.

b) You're not returning a home directory, and user doesn't have read
access to /tmp.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080915/da4a08c9/attachment.bin 


More information about the dovecot mailing list