From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto 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 19:07:30 +0200 Message-ID: <87sjgbcy7h.fsf@gmail.com> 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> <87iph7zgi6.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334077765 25692 80.91.229.3 (10 Apr 2012 17:09:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2012 17:09:25 +0000 (UTC) To: 11194@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 10 19:09:24 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 1SHeZC-00005c-0v for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 19:09:18 +0200 Original-Received: from localhost ([::1]:58645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHeZB-0007KP-87 for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 13:09:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHeZ1-0006yx-1W for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 13:09:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHeYt-0007rO-RB for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 13:09:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHeYt-0007rI-Nn for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 13:08:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SHeZt-0005fI-JV for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 13:10:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <877gxrbz1p.fsf@rbdash.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Apr 2012 17:10:01 +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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133407774421691 (code B ref -1); Tue, 10 Apr 2012 17:10:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Apr 2012 17:09:04 +0000 Original-Received: from localhost ([127.0.0.1]:49128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHeYy-0005dn-0J for submit@debbugs.gnu.org; Tue, 10 Apr 2012 13:09:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52086) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHeYv-0005dP-EM for submit@debbugs.gnu.org; Tue, 10 Apr 2012 13:09:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHeXo-0007YC-Sj for submit@debbugs.gnu.org; Tue, 10 Apr 2012 13:07:58 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:53716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHeXo-0007XI-OK for submit@debbugs.gnu.org; Tue, 10 Apr 2012 13:07:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHeXj-0006rK-0U for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 13:07:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHeXf-0007UP-Tg for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 13:07:46 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:51331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHeXf-0007U9-Lw for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 13:07:43 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SHeXc-0007Yt-Ou for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 19:07:40 +0200 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Apr 2012 19:07:40 +0200 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Apr 2012 19:07:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) Cancel-Lock: sha1:BzJZ4daF9Nlom0U3cvxLhNcl1yg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:58707 Archived-At: Thierry Volpiatto writes: > Stefan Monnier writes: > >>>> "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 haven't said there's only one way to do it :-) I mean we should >>> think about, before we disable builtins in sudo. I'm still not >>> convinced it is a bug. >>> In eshell, one must understand how file names are handled. >> >> I'd be happy to hear of arguments in favor of the current behavior of >> eshell/sudo w.r.t builtins. > It seem it doesn't ask for passwd at everytime > (seem it read his timestamp in /var/lib/sudo//?). No, it just doesn't use sudo at all! it is why no password is required. And command which need a passwd e.g cat /etc/passwd- end up with permission denied. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997