From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#865: 23.0.60; The directory is unsafe today Date: Fri, 5 Sep 2008 15:18:55 +0200 Message-ID: References: <48BD642C.5050405@gmail.com> <48BDD155.8060005@gnu.org> <48BF2171.8040101@gnu.org> <48BF5671.1040705@gnu.org> Reply-To: Lennart Borgman , 865@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220621298 8562 80.91.229.12 (5 Sep 2008 13:28:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2008 13:28:18 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "Eli Zaretskii" , 865@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 05 15:29:12 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 1KbbN7-0007bJ-1F for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Sep 2008 15:29:09 +0200 Original-Received: from localhost ([127.0.0.1]:41484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbbM7-0003MF-DL for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Sep 2008 09:28:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbbLd-00033R-Tx for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 09:27:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbbLb-00031c-Hh for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 09:27:36 -0400 Original-Received: from [199.232.76.173] (port=33264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbbLb-000313-0t for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 09:27:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60452) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbbLb-0005bm-BV for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 09:27:35 -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 m85DRVpX008676; Fri, 5 Sep 2008 06:27:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m85DPFnt007996; Fri, 5 Sep 2008 06:25:15 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Sep 2008 13:25:15 +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.12206207415384 (code B ref 865); Fri, 05 Sep 2008 13:25:15 +0000 Original-Received: (at 865) by emacsbugs.donarmstrong.com; 5 Sep 2008 13:19:01 +0000 Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m85DIvjr005378 for <865@emacsbugs.donarmstrong.com>; Fri, 5 Sep 2008 06:18:58 -0700 Original-Received: by fg-out-1718.google.com with SMTP id l27so703157fgb.43 for <865@emacsbugs.donarmstrong.com>; Fri, 05 Sep 2008 06:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=5/MotRSSE2708IMUOyHr9V5jG1o7CpnXL7jc16aWaTU=; b=f+R0zS3mpl2aYuK7A8RFAkowpwOR2zLrGEksvYlcY7UD/FWTAxFfsAE5OJMzFAA3Fn KY6/sokqu4t/N3GL9khP+BSBAd7fX6X2avjra1xtWYG4apXomV6ihYv2GOxZktmG/ZeA GFVazBs1uh6wx3UVO69oGyPFjqMLZW1WAkLMc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=xsiHpmaTk2ONUfYZUlxy2GWu1tR6SSKTlsT0C1b74cUYd9XYZmeOTspanbBwiBIViZ kiQ/onioAE/Pq6EG8mDdYYwQBDGB3J7n5KZaCCI7Y8JbqBrpoA0T1KaLDfQZ8rxlgWas T0QYIjwIUXLxSNJDGm10R1T2+PDX1etZUv8RU= Original-Received: by 10.86.87.5 with SMTP id k5mr8763859fgb.59.1220620736176; Fri, 05 Sep 2008 06:18:56 -0700 (PDT) Original-Received: by 10.86.65.3 with HTTP; Fri, 5 Sep 2008 06:18:55 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 05 Sep 2008 09:27:36 -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:20196 gmane.emacs.pretest.bugs:22984 Archived-At: On 9/5/08, Eli Zaretskii wrote: > > From: Stefan Monnier > > Cc: 865@emacsbugs.donarmstrong.com, Jason Rumney , emacs-pretest-bug@gnu.org > > Date: Thu, 04 Sep 2008 23:11:10 -0400 > > > > I think the problem comes earlier: the (let ((default-file-modes ?\700)) > > should make sure that the directory created there is owned by the use > > and not by some Administator group. > > That's a different problem. I don't see how it can be solved without > introducing a new primitive, which on Windows will DTRT. (I think > GNU/Linux and Unix systems that support ACLs will need a similar > primitive, but I don't know enough about those to say for sure.) I thought that perhaps a workaround would be to changed the owner so I tested. I did a test on the directory where I had trouble. I did something like (set-file-modes "serv2" ?\654) CACLS still reports the same ACL entries. I thought that maybe was because the owner is the group Administrators. However changing the owner to me and trying set-file-modes again gave the same result. Am I perhaps not using set-file-modes correctly? (I get no errors.)