From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#865: 23.0.60; The directory is unsafe today Date: Sun, 07 Sep 2008 21:33:47 +0300 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: Eli Zaretskii , 865@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1220813274 7048 80.91.229.12 (7 Sep 2008 18:47:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 18:47:54 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 865@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 07 20:48:49 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 1KcPJX-0005aU-CC for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 20:48:47 +0200 Original-Received: from localhost ([127.0.0.1]:33967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcPIX-0004E4-J2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 14:47:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcPIS-0004CJ-EK for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 14:47:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcPIP-00049o-Nt for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 14:47:39 -0400 Original-Received: from [199.232.76.173] (port=49140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcPIP-00049N-6i for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 14:47:37 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55710) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcPIO-0005tu-Dp for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 14:47: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 m87IlWMr026766; Sun, 7 Sep 2008 11:47:34 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m87Ie58h023782; Sun, 7 Sep 2008 11:40:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 07 Sep 2008 18:40: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 submit@emacsbugs.donarmstrong.com id=B.122081243521807 (code B ref -1); Sun, 07 Sep 2008 18:40:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Sep 2008 18:33:55 +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 m87IXoE1021795 for ; Sun, 7 Sep 2008 11:33:52 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:39664 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KcP3O-00083j-Q3 for emacs-pretest-bug@gnu.org; Sun, 07 Sep 2008 14:32:06 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KcP4y-0004DG-V4 for emacs-pretest-bug@gnu.org; Sun, 07 Sep 2008 14:33:49 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:48590) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcP4y-0004Cp-Fc; Sun, 07 Sep 2008 14:33:44 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K6U006EO8XG8A40@i-mtaout1.012.net.il>; Sun, 07 Sep 2008 21:34:29 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 07 Sep 2008 14:47:39 -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:20297 gmane.emacs.pretest.bugs:23007 Archived-At: > From: Stefan Monnier > Cc: 865@emacsbugs.donarmstrong.com, jasonr@gnu.org, emacs-pretest-bug@gnu.org > Date: Sat, 06 Sep 2008 23:43:52 -0400 > > > 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. This is impossible on Windows, AFAIK. There are special flags to the syscall that opens a file or directory that can bypass any denied rights to enter a directory or open a file. (These flags allegedly exist so that system backup and restore programs could DTRT without running as a privileged user.) So, if we are to emulate this special value of mode-bits on Windows, we need to decide exactly what rights we need to deny. Or maybe a better implementation for Windows would be to create encrypted files. Or maybe something else entirely; that's why I was asking questions about the semantics of this.