I installed the attached patch, which should fix the bug even when PICKY_EACCES is nonzero. Boldly closing the bug report.