Manual:$wgDirectoryMode/de-formal

Details
Default  permission value for newly created directories. Without quoting.

Don't forget to specify the leading 0, since this is an octal value.

On Windows, this value is ignored.

This is used by  to create image directories, among other things.