Fix #217. Make sure permissions error messages aren't getting swallowed.