[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths o
From: |
Michael Albinus |
Subject: |
bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system |
Date: |
Wed, 25 Apr 2012 11:32:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> 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.
That's the idea of eshell's built-ins.
> - the combination of the two leads to "sudo rm" doing something less
> slightly different.
Again, it does what you could expect from *eshell*. If you do not want
this behaviour, you could use *shell*. Or you could mask the built-in by
prepending a "*" to the command, as described.
> 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.
The question is whether a command being an argument of "sudo" shall
still behave like other eshell commands. This is not only true for "rm"
(being `eshell/rm'), but for all commands which could be a valid Lisp
command.
> Stefan
Best regards, Michael.
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, (continued)
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Stefan Monnier, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Michael Albinus, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Stefan Monnier, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Thierry Volpiatto, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Thierry Volpiatto, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Stefan Monnier, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Michael Albinus, 2012/04/20
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Stefan Monnier, 2012/04/20
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Michael Albinus, 2012/04/22
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Stefan Monnier, 2012/04/23
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system,
Michael Albinus <=
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Thierry Volpiatto, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Thierry Volpiatto, 2012/04/10
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Michael Albinus, 2012/04/20
- bug#11194: 24.0.95; sudo rm doesn't work with absolute directory paths on the file system, Thierry Volpiatto, 2012/04/20