6c85a4518d
This will allow our callers who are capable of dealing with readonly folders to properly detect this condition and act accordingly. One example is Gmail's "Chats" folder that is read-only, but contains logs of the quick chats. Tested-by: Abdó Roig-Maranges <abdo.roig@gmail.com> Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>