The dir option must be relative to the existing tmp directory that is provided by the process environment. tmp will expect that the so defined directory is in place, otherwise it will fail as it will not create the directory by itself. The current solution may pose issues and potential risk, see #205 The tmp directory should always and only be configured in the process environment and not by the application itself. This might have a potential impact on existing applications and the change must be communicated well.