Subject: bug#12871: 24.3.50; error: The directory `/tmp/emacs1000' is unsafe

From: Andreas Schwab <[email-masked]>
Date: Mon, 12 Nov 2012 22:11:34 +0100

Tassilo Horn <[email-masked]> writes:

>   (cl-letf (((default-file-modes) ?\700)) (make-directory dir t))

default-file-modes is not a variable, it is a function.  You need to
call set-default-file-modes to change the umask.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."