https://bugs.openldap.org/show_bug.cgi?id=10605
--- Comment #4 from Howard Chu hyc@openldap.org ---
If a restrictive global umask were set for the `slapd` daemon, even files intended to be world-readable would become inaccessible.
Any files created by slapd may contain privileged info, as such all files created by slapd should be private to slapd. It's routine for DB files to contain user account info including secret credentials; clearly DB files must never be world readable. Moreover DB files must never be world accessible at all, otherwise that would present an avenue for bypassing slapd's ACLs. So in practice, slapd should always be run with a locked down umask.