Manual:$wgDirectoryMode

Details
Default value for chmoding of new directories.