From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.bugs Subject: bug#22578: 24.5; dired-do-chmod on . or .. directories Date: Sun, 07 Feb 2016 17:20:27 +1100 Message-ID: <8737t52g9g.fsf@blah.blah> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454826443 11289 80.91.229.3 (7 Feb 2016 06:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 06:27:23 +0000 (UTC) To: 22578@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 07:27:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSIoQ-0000rg-OX for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 07:27:11 +0100 Original-Received: from localhost ([::1]:60032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSIoP-0000FA-SF for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 01:27:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSIoM-0000F3-TA for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 01:27:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSIoH-0007iq-Tn for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 01:27:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSIoH-0007il-QT for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 01:27:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSIoH-0003Da-Mo for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 01:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Ryde Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Feb 2016 06:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22578 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145482639512336 (code B ref -1); Sun, 07 Feb 2016 06:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Feb 2016 06:26:35 +0000 Original-Received: from localhost ([127.0.0.1]:36367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSInq-0003Cu-OE for submit@debbugs.gnu.org; Sun, 07 Feb 2016 01:26:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58340) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSInp-0003Ch-8w for submit@debbugs.gnu.org; Sun, 07 Feb 2016 01:26:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSInj-0007eS-3M for submit@debbugs.gnu.org; Sun, 07 Feb 2016 01:26:28 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSIni-0007eO-WD for submit@debbugs.gnu.org; Sun, 07 Feb 2016 01:26:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSIni-0000Bi-1g for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 01:26:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSInd-0007d8-1i for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 01:26:25 -0500 Original-Received: from nm25-vm2.bullet.mail.ne1.yahoo.com ([98.138.91.213]:33377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSInc-0007d2-RL for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 01:26:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1454826379; bh=cEPN+BPnIAW/GX8ZTJVeGbCLXnicUWS85IlcP1Q2h3A=; h=From:To:Subject:Date:From:Subject; b=r6r9Ifl+ZMCW2/dtXygHTlRc9+Cgeu0Nc9GG+6GuhOxeI/o+dSLYP8B7E7IbdrNI9fwAz6yZoRmiF5SbxAmqWZm3McmL2XlrjfX7VLzai/VO4hvoTHG2kldNSW7CY6GRlUPr4Xfmez0ZxYxchKflqFWNv+NJUWJEd3FbiVzuFW4rdbte399BQhrAikpnQB8rEn7kxgQ+UVB8E5gSTBH3zwOfjyMIlS+PnEr3Rj6b8CYDepPlTb1ZaBGovk0zkRmisU9ip+bewTK6EvfJzgXQge3nmh3Gk/osSq3AmtIQkYiZEsql6pea8GtnZIENTxTOyJzVq66Ayv2c004mEBseGA== Original-Received: from [98.138.101.132] by nm25.bullet.mail.ne1.yahoo.com with NNFMP; 07 Feb 2016 06:26:19 -0000 Original-Received: from [98.138.226.30] by tm20.bullet.mail.ne1.yahoo.com with NNFMP; 07 Feb 2016 06:26:19 -0000 Original-Received: from [127.0.0.1] by smtp201.mail.ne1.yahoo.com with NNFMP; 07 Feb 2016 06:26:19 -0000 X-Yahoo-Newman-Id: 912566.2952.bm@smtp201.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: oJsb2LMVM1nj4XolrqeRd1qnFo6ZAq5KlXZJXZuxS4sRjs8 yY311hLAPG6RNAJ9BY3Mx1nBdzlA47xV_6mhxv7BE7QsJH0TjRKLkVd63Znx SKuX246gdTYTTXY6c9vNexGtgoRfM9oaEEMmZfejvzx.kBXlkytjySrGnrBy 1De4tuiqQEzS3n9z25aOKb63GdaykDHx8.2Qd5kwOjOjTSIqz8Zk1co6IRoz CByikG7.PjluJGkfErDyZScAOMUDci681.Nc6dqHSpqEkk0P9VJz.kXqs3we rp3TeaCcZSaEmKLl_Oxt7t_50Zu0LXauTjGqVMfoYTckYGxx5CdT097kNlM5 RiBLqIpxSfCFdAg3SuHp5XdM48b9V0XsKBF.dIbojmoOlZ4WpeRH_MhLOQ66 AFC1PPkyrkzc4nHhW.zx6C_U8MvdLWDer_hIGsgbhWNwgEev4sFPa_fXNeOR tHslf0uRmL9UMIXU2tldpRfi4pmv0U6Xu40GgfiKnmSfiX8yot5k7OhNBtCN jWWBKitp7iWWsoILuNLn8m30Mzo8VhSU1hPTqZYg- X-Yahoo-SMTP: U8NKAo6swBAxDIMUovTitGGHebxdYQBZ5A-- User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112608 Archived-At: It'd be good if dired "M" `dired-do-chmod' could act on the "." and ".." directories in the dired buffer. As far as I can tell there'd be no reason they shouldn't. I struck this wanting to add write permission to a directory which had been left read-only (something out of an unzip or untar). (Presently dired-do-chmod also queries for the mode before announcing it won't act on . or .., whereas of course usually in other places in emacs such failing pre-conditions are checked before user input.) In GNU Emacs 24.5.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2016-01-23 on x86-csail-01, modified by Debian Configured using: `configure --build i586-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build i586-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'