GNU bug report logs - #9304
report-emacs-bug fails: /Mail write-protected.

Previous Next

Package: emacs;

Reported by: Stefan Klinger <all-lists <at> stefan-klinger.de>

Date: Mon, 15 Aug 2011 16:38:02 UTC

Severity: normal

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Klinger <all-lists <at> stefan-klinger.de>
Cc: 9304 <at> debbugs.gnu.org, Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#9304: report-emacs-bug fails: /Mail write-protected.
Date: Mon, 15 Aug 2011 17:12:55 -0400
Stefan Klinger wrote:

> Reproduce: Start with a write-protected ~/Mail, run 'emacs -Q', type 'M-x report-emacs-bug'. This fails with the message "make-directory: Creating directory: permission denied, /home/foo/Mail/drafts". No further information is provided.

I was going to say that this won't happen in Emasc 24.1, due to the
changes from http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4432,
but it still does.

Perhaps

(defcustom message-auto-save-directory
  (if (file-exists-p message-directory)
      (file-name-as-directory (expand-file-name "drafts" message-directory))
    "~/")

should use `file-writable-p' instead of `file-exists-p'.




This bug report was last modified 13 years and 285 days ago.

Previous Next


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