From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6953: 24.0.50; serious security bug in create backup files Date: Mon, 13 Sep 2010 13:44:41 +0200 Message-ID: <83zkvl50ly.fsf@gnu.org> References: <19583.19642.954872.847808@bugle.cse.ucsc.edu> <19583.53728.357608.629758@bugle.cse.ucsc.edu> <4mzkvs44no.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1284379843 6423 80.91.229.12 (13 Sep 2010 12:10:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 12:10:43 +0000 (UTC) Cc: 6953@debbugs.gnu.org, markd@soe.ucsc.edu To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 13 14:10:41 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov7rq-0002zD-Aq for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Sep 2010 14:10:38 +0200 Original-Received: from localhost ([127.0.0.1]:52091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov7rp-0005EP-HC for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Sep 2010 08:10:37 -0400 Original-Received: from [140.186.70.92] (port=45786 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov7rg-0005Dj-Ru for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2010 08:10:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ov7rf-0008Aa-Ei for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2010 08:10:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45841) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov7rf-0008AT-9C for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2010 08:10:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ov7R8-0003Dq-Od; Mon, 13 Sep 2010 07:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Sep 2010 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6953 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6953-submit@debbugs.gnu.org id=B6953.128437815312370 (code B ref 6953); Mon, 13 Sep 2010 11:43:02 +0000 Original-Received: (at 6953) by debbugs.gnu.org; 13 Sep 2010 11:42:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov7Qf-0003DT-25 for submit@debbugs.gnu.org; Mon, 13 Sep 2010 07:42:33 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov7Qd-0003DK-0f for 6953@debbugs.gnu.org; Mon, 13 Sep 2010 07:42:32 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L8O00F00OL62B00@a-mtaout21.012.net.il> for 6953@debbugs.gnu.org; Mon, 13 Sep 2010 13:44:42 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.81.53]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L8O00ETIOMGSO30@a-mtaout21.012.net.il>; Mon, 13 Sep 2010 13:44:42 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 13 Sep 2010 07:43:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40125 Archived-At: > From: Glenn Morris > Date: Thu, 09 Sep 2010 23:06:46 -0400 > Cc: 6953@debbugs.gnu.org, Mark Diekhans > > Just had a thought that this kind of approach is not going to work for > securing ~/%backup%~ files for people who have AFS home directories. > Which probably is not many in % terms, but is more than zero. In AFS, > the _only_ way to make files private to the owner is to put them in a > private directory. > > On the other hand, simply creating a mode 700 directory does not > necessarily make it private, you have to use AFS commands to set ACLs. > But the approach of having backup files in a special directory would > be closer to how AFS normally works. The situation on MS-Windows is almost exactly the same. Files put in private directories are private by default, but creating a new private directory requires using Windows-specific ACL APIs. Maybe it's time to have this functionality in Emacs.