The folder has to match its parent folder's permissions.
Strictly speaking the permissions refer to IMAP permissions, not unix, but I don't think the two are different in this case.
(Btw, I think this is actually a bug in the server. The code appears not to implement what the relevant comment describes. But change the folder's permissions to match those of its parents, and all will be well.)