From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system Date: Fri, 20 Apr 2012 22:03:03 -0400 Message-ID: References: <877gxrbz1p.fsf@rbdash.i-did-not-set--mail-host-address--so-tickle-me> <87obr2cwtu.fsf@gmx.de> <87ehrwdbhs.fsf@gmx.de> <87r4vwqd3q.fsf@gmx.de> <87zkajsn4e.fsf@gmx.de> <87r4vvsjor.fsf@gmx.de> <87ehriseyx.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334973822 5091 80.91.229.3 (21 Apr 2012 02:03:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2012 02:03:42 +0000 (UTC) Cc: Cray Elliott , 11194@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 21 04:03:40 2012 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 1SLPfo-00039O-OP for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Apr 2012 04:03:40 +0200 Original-Received: from localhost ([::1]:40569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLPfo-0001mC-4k for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 22:03:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLPfl-0001lj-7q for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 22:03:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLPfj-0002f9-Ht for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 22:03:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLPfj-0002f5-Es for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 22:03:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SLPgA-000575-Hs for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 22:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Apr 2012 02:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11194-submit@debbugs.gnu.org id=B11194.133497382019627 (code B ref 11194); Sat, 21 Apr 2012 02:04:02 +0000 Original-Received: (at 11194) by debbugs.gnu.org; 21 Apr 2012 02:03:40 +0000 Original-Received: from localhost ([127.0.0.1]:44871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLPfn-00056V-J0 for submit@debbugs.gnu.org; Fri, 20 Apr 2012 22:03:40 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:54421) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLPfl-00056I-VC for 11194@debbugs.gnu.org; Fri, 20 Apr 2012 22:03:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEKACxOgk/O+K5t/2dsb2JhbABDtheCDAOBDIEIggkBAQQBViMQCzQSFBgNJIgcBbYyi2GEeQSkRYFdgwM X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="175682667" Original-Received: from 206-248-174-109.dsl.teksavvy.com (HELO pastel.home) ([206.248.174.109]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Apr 2012 22:03:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id CA2E058E55; Fri, 20 Apr 2012 22:03:03 -0400 (EDT) In-Reply-To: <87ehriseyx.fsf@gmx.de> (Michael Albinus's message of "Fri, 20 Apr 2012 15:35:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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:59339 Archived-At: >> I'd be happy to hear of arguments in favor of the current behavior of >> eshell/sudo w.r.t builtins. > I've checked the implementation of eshell/sudo: It simply let-binds > default-directory to "/sudo:user@host:dir", and let the command like rm > run. That's why the built-in version of rm is in place. > Another implementation of sudo would not be in the spirit of eshell, I > think. Spirit or not, the resulting behavior for `sudo' makes no sense and should be fixed, Stefan