From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: creating backups in temporary directories Date: Sun, 09 Sep 2007 15:41:44 -0400 Message-ID: References: <85sl5q5vy6.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189370776 4403 80.91.229.12 (9 Sep 2007 20:46:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2007 20:46:16 +0000 (UTC) Cc: christopher.ian.moore@gmail.com, emacs-pretest-bug@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 06:46:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IUa9u-0000Io-Cp for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 05:41:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUSfX-000241-T3 for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2007 15:42:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUSfP-0001tF-5d for emacs-devel@gnu.org; Sun, 09 Sep 2007 15:41:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUSfN-0001pB-GX for emacs-devel@gnu.org; Sun, 09 Sep 2007 15:41:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUSfN-0001os-4f for emacs-devel@gnu.org; Sun, 09 Sep 2007 15:41:57 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUSfM-0007x6-Sk for emacs-devel@gnu.org; Sun, 09 Sep 2007 15:41:56 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUSf0-0007JT-SX for emacs-pretest-bug@gnu.org; Sun, 09 Sep 2007 15:41:34 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IUSfH-0007vr-QO for emacs-pretest-bug@gnu.org; Sun, 09 Sep 2007 15:41:56 -0400 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUSfC-0007tW-38; Sun, 09 Sep 2007 15:41:46 -0400 Original-Received: from pastel.home ([70.55.141.227]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070909194145.TIHV1592.tomts5-srv.bellnexxia.net@pastel.home>; Sun, 9 Sep 2007 15:41:45 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D18668077; Sun, 9 Sep 2007 15:41:44 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Sat\, 08 Sep 2007 15\:48\:09 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Solaris 8 (1) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78340 gmane.emacs.pretest.bugs:19794 Archived-At: > Worse yet: creating backup files in /tmp would be a security hole: > some other user seeing you're currently editing /tmp/foo could create > a symlink /tmp/foo~ to some interesting place and then when you save your > file the backup could be placed at that interesting place chosen by > the attacker. > Is that equally true for any directory that others can write? Yes. Stefan