createfolders setting is ignored if readonly is True (6.5.4)

Nicolas Sebrecht nicolas.s-dev at
Mon Aug 20 20:14:36 BST 2012

On Mon, Aug 20, 2012 at 05:42:49PM +0400, Vladimir Nesov wrote:

> If 'readonly' is True, folders shouldn't be created (regardless of
> 'createfolders'; sorry for the confusing thread title). With old
> behavior, instead folders were always created when 'readonly' is True
> (even if 'createfolders' was also False), which is a serious bug
> (offlineimap was creating folders in all read-only repositories).
> 'createfolders' should only play a role if 'readonly' is False, in
> which case folders should only be created if 'createfolders' is True.

Ok. Merged with rewritten commit message and a Changelog entry.

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list