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: Fri, 05 Sep 2008 17:36:40 -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 1220651306 18303 80.91.229.12 (5 Sep 2008 21:48:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2008 21:48:26 +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 Fri Sep 05 23:49:21 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 1KbjB6-0000Xu-Qw for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Sep 2008 23:49:17 +0200 Original-Received: from localhost ([127.0.0.1]:48353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbjA7-0002FS-CW for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Sep 2008 17:48:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kbj9T-0001zb-8A for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 17:47:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kbj9S-0001zE-PP for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 17:47:34 -0400 Original-Received: from [199.232.76.173] (port=38451 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kbj9R-0001ys-Ul for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 17:47:33 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37727) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kbj9R-0007OC-Sm for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 17:47: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 m85LlVu9020177; Fri, 5 Sep 2008 14:47:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m85Lj5Jp018832; Fri, 5 Sep 2008 14:45:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Sep 2008 21:45:05 +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 865-submit@emacsbugs.donarmstrong.com id=B865.122065061216648 (code B ref 865); Fri, 05 Sep 2008 21:45:05 +0000 Original-Received: (at 865) by emacsbugs.donarmstrong.com; 5 Sep 2008 21:36:52 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m85LakWU016642 for <865@emacsbugs.donarmstrong.com>; Fri, 5 Sep 2008 14:36:50 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMEAORCwUhFxJRU/2dsb2JhbACBZbUEgWWBBg X-IronPort-AV: E=Sophos;i="4.32,342,1217822400"; d="scan'208";a="26426071" Original-Received: from 69-196-148-84.dsl.teksavvy.com (HELO pastel.home) ([69.196.148.84]) by ironport2-out.teksavvy.com with ESMTP; 05 Sep 2008 17:36:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7A19E8398; Fri, 5 Sep 2008 17:36:40 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Fri, 05 Sep 2008 18:11:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 05 Sep 2008 17:47:34 -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:20212 gmane.emacs.pretest.bugs:22992 Archived-At: >> I think we need to consider the testing part and the file (or dir) >> creation part separately. > 100% agreement. >> And my previous messages pointed out that the core problem >> (securitywise) is in the creation part, which is hence unrelated to >> the above 3 other cases. > Are you okay with adding a primitive for solving the creation part, > and will such a primitive be allowed into the repository even though > we are in feature freeze? I'm not sure what it would look like so it's hard for me to say. 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. Of course, that might just be a reflection of my naive misunderstanding of the w32 API. Stefan