all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Cray Elliott <mp2e@archlinux.us>, 11194@debbugs.gnu.org
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	[thread overview]
Message-ID: <jwvipgpnbrj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87k417sloc.fsf@gmx.de> (Michael Albinus's message of "Sun, 22 Apr 2012 19:47:47 +0200")

>> 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





  reply	other threads:[~2012-04-24  1:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-07 10:45 bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system Cray Elliott
2012-04-08 11:00 ` Michael Albinus
2012-04-09  2:20   ` Stefan Monnier
2012-04-09 18:08     ` Michael Albinus
2012-04-10  1:58       ` Stefan Monnier
2012-04-10  7:07         ` Michael Albinus
2012-04-10 13:01           ` Stefan Monnier
2012-04-10 14:00             ` Michael Albinus
2012-04-10 14:55               ` Stefan Monnier
2012-04-10 15:14                 ` Michael Albinus
2012-04-10 16:23                   ` Stefan Monnier
2012-04-10 16:41                     ` Thierry Volpiatto
2012-04-10 17:07                       ` Thierry Volpiatto
2012-04-10 18:00                       ` Stefan Monnier
2012-04-20 13:35                     ` Michael Albinus
2012-04-21  2:03                       ` Stefan Monnier
2012-04-22 17:47                         ` Michael Albinus
2012-04-24  1:52                           ` Stefan Monnier [this message]
2012-04-25  9:32                             ` Michael Albinus
2012-04-10 16:35                   ` Thierry Volpiatto
2012-04-10 16:57                     ` Thierry Volpiatto
2012-04-20 13:38                       ` Michael Albinus
2012-04-20 20:58                         ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvipgpnbrj.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=11194@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=mp2e@archlinux.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.