unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* patch to create auto-save-list-file unreadable
@ 2006-07-03  3:04 Stephen Gildea
  2006-07-03 23:20 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Gildea @ 2006-07-03  3:04 UTC (permalink / raw)


If there are no objections, I'd like to check in the following patch 
to the Emacs CVS tree.

 < Stephen


Index: src/ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ChangeLog,v
retrieving revision 1.5157
diff -u -r1.5157 ChangeLog
--- src/ChangeLog	1 Jul 2006 23:28:38 -0000	1.5157
+++ src/ChangeLog	2 Jul 2006 09:30:13 -0000
@@ -1,3 +1,8 @@
+2006-07-02  Stephen Gildea  <gildea@stop.mail-abuse.org>
+
+	* fileio.c (do_auto_save_make_dir): Make the auto-save-list-file
+	directory unreadable for better user privacy.
+
 2006-07-02  Kim F. Storm  <storm@cua.dk>
 
 	* xdisp.c (display_tool_bar_line): Skip glyphs which are too big
Index: src/fileio.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fileio.c,v
retrieving revision 1.567
diff -u -r1.567 fileio.c
--- src/fileio.c	23 Jun 2006 10:19:11 -0000	1.567
+++ src/fileio.c	2 Jul 2006 09:30:14 -0000
@@ -5853,7 +5853,11 @@
 do_auto_save_make_dir (dir)
      Lisp_Object dir;
 {
-  return call2 (Qmake_directory, dir, Qt);
+  Lisp_Object mode;
+
+  call2 (Qmake_directory, dir, Qt);
+  XSETFASTINT (mode, 0700);
+  return Fset_file_modes (dir, mode);
 }
 
 static Lisp_Object

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch to create auto-save-list-file unreadable
  2006-07-03  3:04 patch to create auto-save-list-file unreadable Stephen Gildea
@ 2006-07-03 23:20 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-07-03 23:20 UTC (permalink / raw)
  Cc: emacs-devel

It bothers me in spirit, but I won't object to it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-03 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-03  3:04 patch to create auto-save-list-file unreadable Stephen Gildea
2006-07-03 23:20 ` Richard Stallman

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).