The function
get-temp-directory
returns a directory which is likely to be writable and can be used for temporary files.
By default, the functions create-temp-file and open-temp-file use the result of
get-temp-directory
as the directory to create their temp file in.
LispWorks User Guide and Reference Manual - 21 Dec 2011