From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#865: 23.0.60; The directory is unsafe today Date: Sat, 06 Sep 2008 23:43:52 -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: Stefan Monnier , 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 1220760481 8500 80.91.229.12 (7 Sep 2008 04:08:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 04:08:01 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 865@emacsbugs.donarmstrong.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 07 06:08:56 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 1KcBa3-0001fU-Bq for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 06:08:55 +0200 Original-Received: from localhost ([127.0.0.1]:47617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcBZ3-0006qh-Qi for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 00:07:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcBYo-0006ie-8M for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcBYn-0006hV-4h for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:37 -0400 Original-Received: from [199.232.76.173] (port=39030 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcBYm-0006h7-Nx for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:36 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49743) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcBYl-0002yk-Vw for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:36 -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 m8747VeG004852; Sat, 6 Sep 2008 21:07:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m873o3tZ030228; Sat, 6 Sep 2008 20:50:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 07 Sep 2008 03:50:03 +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.122075904628312 (code B ref -1); Sun, 07 Sep 2008 03:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Sep 2008 03:44:06 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m873i21h028302 for ; Sat, 6 Sep 2008 20:44:04 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:47377 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KcBAJ-0000ys-K0 for emacs-pretest-bug@gnu.org; Sat, 06 Sep 2008 23:42:19 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KcBBu-0000XF-FB for emacs-pretest-bug@gnu.org; Sat, 06 Sep 2008 23:44:02 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:35528 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcBBq-0000Wg-2f; Sat, 06 Sep 2008 23:43:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhwFABzrwkhFxJRU/2dsb2JhbACBZbEKgWaBBw X-IronPort-AV: E=Sophos;i="4.32,349,1217822400"; d="scan'208";a="26466701" Original-Received: from 69-196-148-84.dsl.teksavvy.com (HELO ceviche.home) ([69.196.148.84]) by ironport2-out.teksavvy.com with ESMTP; 06 Sep 2008 23:43:52 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7CA5FB405D; Sat, 6 Sep 2008 23:43:52 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Sun, 07 Sep 2008 00:38:09 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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: Sun, 07 Sep 2008 00:07:37 -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:20268 gmane.emacs.pretest.bugs:23002 Archived-At: >> > 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. >> It's not an assumption: it's what default-file-modes says. > On Posix platforms, yes. No, it's not platform dependent: it just so happens that it matches the Posix semantics, so the implementation is trivial on Posix platforms, but the meaning of this Elisp code is the same whether or not it's running on a Posix platform. > The MS-Windows access right set is richer than just Read, > Write, Execute. That doesn't really matter, the point is that nobody but the creating user should have any right. Stefan