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: Mon, 23 Apr 2012 21:52:36 -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> <87k417sloc.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335232406 19162 80.91.229.3 (24 Apr 2012 01:53:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 01:53:26 +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 Tue Apr 24 03:53:23 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 1SMUwV-0003Ek-G3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 03:53:23 +0200 Original-Received: from localhost ([::1]:54360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMUwU-0007FF-RG for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2012 21:53:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMUwS-0007Ez-DX for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 21:53:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMUwQ-0005Ru-Kj for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 21:53:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMUwQ-0005RY-H4 for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 21:53:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SMUx8-0003Mq-6u for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 21:54: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: Tue, 24 Apr 2012 01:54: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.133523241012906 (code B ref 11194); Tue, 24 Apr 2012 01:54:02 +0000 Original-Received: (at 11194) by debbugs.gnu.org; 24 Apr 2012 01:53:30 +0000 Original-Received: from localhost ([127.0.0.1]:49648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMUwb-0003M6-DW for submit@debbugs.gnu.org; Mon, 23 Apr 2012 21:53:30 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:29512) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMUwZ-0003Lu-HH for 11194@debbugs.gnu.org; Mon, 23 Apr 2012 21:53:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEKACxOgk/O+Jnc/2dsb2JhbABDtheCDAOBDIEIggkBAQQBViMQCzQSFBgNJC6HbgW2MothhHkEpEWBXYMD X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="176388933" Original-Received: from 206-248-153-220.dsl.teksavvy.com (HELO pastel.home) ([206.248.153.220]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 Apr 2012 21:52:37 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0EB5458EB0; Mon, 23 Apr 2012 21:52:37 -0400 (EDT) In-Reply-To: <87k417sloc.fsf@gmx.de> (Michael Albinus's message of "Sun, 22 Apr 2012 19:47:47 +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:59428 Archived-At: >> Spirit or not, the resulting behavior for `sudo' makes no sense and >> should be fixed, > Last attempt to convince you: The eshell manual gives as example > ~ $ cd /ssh:otherhost:/etc > /ssh:user@otherhost:/etc $ sudo find-file shadow > If you disable built-in commands inside sudo, you would disable all > other Lisp functions as well. Do we want this? The problem is the following: - eshell/sudo has the same name as /usr/bin/sudo but does something slightly different. - eshell/rm has the same name as /bin/rm but does something slightly different. - the combination of the two leads to "sudo rm" doing something less slightly different. I don't use Eshell myself, so I'm not sure what the best way to fix this. Maybe it's eshell/rm that needs fixing, maybe Eshell should change to use different name for its `sudo', or maybe the solution should be yet different. Stefan