GNU bug report logs - #12871
24.3.50; error: The directory `/tmp/emacs1000' is unsafe

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Mon, 12 Nov 2012 16:33:01 UTC

Severity: important

Merged with 12875

Found in versions 24.2.50, 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 12871 <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12871 <at> debbugs.gnu.org
Subject: Re: bug#12871: 24.3.50;
	error: The directory `/tmp/emacs1000' is unsafe
Date: Tue, 13 Nov 2012 08:58:51 +0100
Andreas Schwab <schwab <at> linux-m68k.org> 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.

Rest assured the code is correct because (default-file-modes) returns a
setf-able place (see (info "(cl)Setf Extensions")).

Bye,
Tassilo




This bug report was last modified 12 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.