Hello, dovecot-lda crashes with a segfault, if I run it as a user who has no mailbox, and no permission to create one. stat("/var/mail/mailboxes/users", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getuid() = 21189 geteuid() = 21189 access("/var/mail/mailboxes/users", X_OK) = 0 getuid() = 21189 geteuid() = 21189 access("/var/mail/mailboxes/users", W_OK) = -1 EACCES (Permission denied) geteuid() = 21189 getegid() = 21189 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ dovecot --version 2.0.8 (f9d34d929c3f) Micha Krause
On Tue, 2010-12-07 at 12:36 +0100, Micha Krause wrote:> dovecot-lda crashes with a segfault, if I run it as a user who has no > mailbox, and no permission to create one.Could you get gdb backtrace? Something like: gdb --args dovecot-lda <parameters> run bt full If that doesn't work, send your doveconf -n output and the command line you used for dovecot-lda. (I couldn't reproduce this with a quick test, so the crash could be pretty much anywhere.)
Maybe Matching Threads
- [klibc:update-dash] dash: builtin: Use test_access from NetBSD when faccessat is unavailable
- Having problem getting Asterisk to work on CentOS 7
- [PATCH] fuse: UID 0 should override all permissions checks (RHBZ#1106548).
- FW: Closing sessions and smbstatus
- [PATCH] Fix various -Wformat problems.