Replace umask() with chmod() because it's not thread-safe.
Fix: ACICINGA_CHECK_USER doesn't work on OS X or when using NIS.