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: Tue, 10 Apr 2012 10:55:44 -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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334069783 21715 80.91.229.3 (10 Apr 2012 14:56:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2012 14:56:23 +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 10 16:56:20 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 1SHcUV-0006SW-IJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 16:56:19 +0200 Original-Received: from localhost ([::1]:37270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHcUU-00045o-WE for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 10:56:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHcUP-00042T-22 for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 10:56:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHcUD-00032y-BQ for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 10:56:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHcUD-00032t-87 for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 10:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SHcVC-0002P8-64 for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 10:57: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, 10 Apr 2012 14:57: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.13340698149228 (code B ref 11194); Tue, 10 Apr 2012 14:57:02 +0000 Original-Received: (at 11194) by debbugs.gnu.org; 10 Apr 2012 14:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:48996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHcV0-0002Ok-VR for submit@debbugs.gnu.org; Tue, 10 Apr 2012 10:56:52 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:44208) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHcUy-0002Oa-0f for 11194@debbugs.gnu.org; Tue, 10 Apr 2012 10:56:48 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q3AEti4a017782; Tue, 10 Apr 2012 10:55:44 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 65940B425E; Tue, 10 Apr 2012 10:55:44 -0400 (EDT) In-Reply-To: <87zkajsn4e.fsf@gmx.de> (Michael Albinus's message of "Tue, 10 Apr 2012 16:00:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4188=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4188> : streams <745692> : uri <1097835> 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:58695 Archived-At: >> Sounds like a bug in eshell/sudo: it should not use builtins. > Don't know. Sometimes, it makes sense for builtins running under sudo. > Like `.', an alias for `eshell/.'. It sources a file, and executes > eshell commands from this file. > sudo . .eshell/history "sudo . .eshell/history" means "execute the commands in .eshell/history as user `root'". I.e. it's very different from ". /sudo::.eshell/history" which runs those command as the current user. I don't think eshell/sudo knows how to do it right. Stefan