From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Litterio Newsgroups: gmane.emacs.bugs Subject: bug#865: 23.0.60; The directory is unsafe today Date: Sat, 06 Sep 2008 13:04:02 -0400 Message-ID: References: <48BD642C.5050405@gmail.com> <48BD74D5.4050800@gnu.org> <48BDD155.8060005@gnu.org> <48BF2171.8040101@gnu.org> <48BF5671.1040705@gnu.org> Reply-To: Francis Litterio , 865@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220722084 24708 80.91.229.12 (6 Sep 2008 17:28:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Sep 2008 17:28:04 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 06 19:28:59 2008 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.50) id 1Kc1aj-0001AI-9i for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 19:28:57 +0200 Original-Received: from localhost ([127.0.0.1]:36007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc1Zj-0003ol-Ji for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 13:27:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kc1ZQ-0003hu-01 for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:27:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kc1ZO-0003hA-A4 for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:27:35 -0400 Original-Received: from [199.232.76.173] (port=35889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc1ZO-0003h5-6H for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:27:34 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40287) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kc1ZO-0001FR-G5 for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:27:34 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m86HRVql007437; Sat, 6 Sep 2008 10:27:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m86HK4kB004380; Sat, 6 Sep 2008 10:20:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Francis Litterio Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 06 Sep 2008 17:20:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 865 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12207212552507 (code B ref -1); Sat, 06 Sep 2008 17:20:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Sep 2008 17:14:15 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m86HEBDu002501 for ; Sat, 6 Sep 2008 10:14:13 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kc1MR-0001X8-AD for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:14:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kc1MP-0001WI-Om for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:14:10 -0400 Original-Received: from [199.232.76.173] (port=33517 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc1MP-0001WF-Ja for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:14:09 -0400 Original-Received: from pcls5.std.com ([192.74.137.145]:51360 helo=TheWorld.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kc1MQ-0007Kt-7x for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 13:14:10 -0400 Original-Received: from usenlittefl1c.theworld.com (monk@shell01.theworld.com [192.74.137.71]) by TheWorld.com (8.13.6/8.13.6) with ESMTP id m86HDSf3008440 for ; Sat, 6 Sep 2008 13:13:31 -0400 X-Random-Quote: If a person with multiple personalities threatens suicide, is that considered a hostage situation? In-Reply-To: (Eli Zaretskii's message of "Sat, 06 Sep 2008 10:08:28 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 06 Sep 2008 13:27:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:20233 Archived-At: Eli Zaretskii wrote: >> From: Stefan Monnier >> But I'd argue that having the umask (aka default-file-modes) set to >> #o700 could be used as a tell-tale sign, so it sounds to me like it >> might be doable by adding w32 C code without any C-level changes. > > So you are saying we should assume that when umask has its two lower > mode bits set to zero, the intent is to create a private file > accessible only by the user who runs Emacs? I don't like such > assumptions, but if I'm the only one, so be it. Overloading the semantics of a subset of the bits in the umask seems prone to confusion. Why not create a new w32-... variable to encode those semantics? -- Fran