> Just to be clear, this condition should be checked before emacs is > willing to use the temporary directory in question. No unprivileged > user should be able to overwrite a directory entry the uid of the > emacs process creates at any point in the path to the temporary file.
AFAIK we usually consider it's up to the user/system to make sure this is the case. Stefan