Not a developer? Go to



This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

Movable Type uses a temporary directory on your server for a few different operations:

  • When processing uploaded files, Movable Type will copy your uploaded file first to a temporary folder while scrubbing the file for validity (in particular with the AssetFileExtensions and DeniedAssetFileExtensions directives).

  • When processing uploaded files, if Movable Type notices that the file you uploaded already exists, it will allow you to overwrite the original file by first asking for your confirmation. To do this, MT needs to write the uploaded data to a temporary file. That temporary file is stored in the directory specified by the TempDir setting.

  • When creating Backups, Movable Type will temporarily store the archive contents in the temporary directory.

Default value: /tmp


TempDir /other_tmp_dir