Diego Liziero
2008-Feb-15 12:40 UTC
[Dovecot] [patch] make <chroot>/./<home> a config option.
Hi, I think that the wu-ftp style chroot /./ should be a configurable option. In our servers we have some home directories in /chroot-web/./username (where web users can upload their web sites in a chrooted environment) and all imap mail in /mail-disk/username. We are planning a dovecot migration from our modified version of uw-imap and we noticed that the chroot in /chroot-web/ can't be disabled. This patch adds the bool option home_slash_dot_slash_chroot (feel free to change this name to something easier to understand). Setting this to "no" disables the wu-ftp style /./ chroot. I hope this feature can be considered useful and soon included in dovecot. Regards, Diego Liziero. -------------- next part -------------- A non-text attachment was scrubbed... Name: dovecot-1.0.10-disable-slash-dot-slash-chroot.diff Type: text/x-patch Size: 3009 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20080215/d127ee8b/attachment-0002.bin>
Timo Sirainen
2008-Feb-15 12:53 UTC
[Dovecot] [patch] make <chroot>/./<home> a config option.
On Fri, 2008-02-15 at 13:40 +0100, Diego Liziero wrote:> This patch adds the bool option home_slash_dot_slash_chroot (feel free > to change this name to something easier to understand). Setting this to > "no" disables the wu-ftp style /./ chroot.There are already too many options, but I guess valid_chroot_dirs could be used for this. Committed to v1.1: http://hg.dovecot.org/dovecot-1.1/rev/17c65dfdac2a -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080215/6f4cf0a6/attachment-0002.bin>
Possibly Parallel Threads
- Incremental backups and batch mode.
- suspect valgrind error in mail-index-map.c
- imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
- mbox: extra linefeed after Content-Length header in 1.1.rc8
- dovecot-1.1.rc7 Panic: POP3(username): file index-mail.c: line 1007: unreached