The only fix is to change mode to 0700 before start, because otherwise postgresql doesn't start, and error is non-obvious.