MDL-40435 allow 0 as valid directory permission when using ACL