* bug#9304: report-emacs-bug fails: /Mail write-protected. @ 2011-08-15 14:52 Stefan Klinger 2011-08-15 21:12 ` Glenn Morris 0 siblings, 1 reply; 3+ messages in thread From: Stefan Klinger @ 2011-08-15 14:52 UTC (permalink / raw) To: 9304 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. Directory ${HOME}/Mail is write protected intentionally. IMHO bug reports should be created in a somewhat temporary location. ‘emacs-version’ reports GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-04-10 on brahms, modified by Debian Kind regards, Stefan -- Stefan Klinger o/klettern /\/ bis zum send plaintext only - max size 32kB - no spam \ Abfallen http://stefan-klinger.de ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#9304: report-emacs-bug fails: /Mail write-protected. 2011-08-15 14:52 bug#9304: report-emacs-bug fails: /Mail write-protected Stefan Klinger @ 2011-08-15 21:12 ` Glenn Morris 2011-08-17 21:39 ` Lars Magne Ingebrigtsen 0 siblings, 1 reply; 3+ messages in thread From: Glenn Morris @ 2011-08-15 21:12 UTC (permalink / raw) To: Stefan Klinger; +Cc: 9304, Lars Magne Ingebrigtsen 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'. ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#9304: report-emacs-bug fails: /Mail write-protected. 2011-08-15 21:12 ` Glenn Morris @ 2011-08-17 21:39 ` Lars Magne Ingebrigtsen 0 siblings, 0 replies; 3+ messages in thread From: Lars Magne Ingebrigtsen @ 2011-08-17 21:39 UTC (permalink / raw) To: Glenn Morris; +Cc: 9304 Glenn Morris <rgm@gnu.org> writes: > 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'. I've now done this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-17 21:39 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-08-15 14:52 bug#9304: report-emacs-bug fails: /Mail write-protected Stefan Klinger 2011-08-15 21:12 ` Glenn Morris 2011-08-17 21:39 ` Lars Magne Ingebrigtsen
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).