infinoted-util.c's infinoted_util_create_dirname contains this for directory creation:
result = inf_file_util_create_directory(dirname, 0700, error);
infinoted_plugin_directory_sync_save uses this helper function to create these directory and embeds another instance:
if(inf_file_util_create_directory(plugin->directory, 0700, error) == FALSE)
Both codepaths do not obey any umask and make the directories unconditionally unreadable to anyone else than the daemon user. This makes it difficult to serve the sync output from a web server running under a different uid. g_file_set_contents does the right thing so the problem does not affect written out files, just directories.