boost::filesystem::create_directory() defaults to allow all users full access to the Bitcoin DataDir. This directory should only be accessible to the owner to limit unauthorized access.
A future version can use boost::filesystem::permissions() (v1.49+) instead of dealing with the lower level chmod directly.