|
From: | Thierry Volpiatto |
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 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) |
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes: > Stefan Monnier <monnier@IRO.UMontreal.CA> 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/<user>/?). 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
[Prev in Thread] | Current Thread | [Next in Thread] |