From: Stephen Gildea <gildea@stop.mail-abuse.org>
Subject: patch to create auto-save-list-file unreadable
Date: Sun, 02 Jul 2006 23:04:47 -0400 [thread overview]
Message-ID: <11883.1151895887@ma.gildea.net> (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
next reply other threads:[~2006-07-03 3:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-03 3:04 Stephen Gildea [this message]
2006-07-03 23:20 ` patch to create auto-save-list-file unreadable Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11883.1151895887@ma.gildea.net \
--to=gildea@stop.mail-abuse.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).