From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.bugs Subject: bug#28320: 25.2; Eshell/TRAMP's sudo does not work with aliases Date: Fri, 01 Sep 2017 18:06:06 +0100 Message-ID: <874lsm5oxt.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1504285764 21505 195.159.176.226 (1 Sep 2017 17:09:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2017 17:09:24 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.2.1 To: 28320@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 01 19:09:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnpRQ-00051H-Vv for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Sep 2017 19:09:13 +0200 Original-Received: from localhost ([::1]:50645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnpRX-0007LC-RM for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Sep 2017 13:09:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnpRL-0007Hk-06 for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2017 13:09:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnpRG-0006IO-08 for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2017 13:09:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnpRF-0006ID-TD for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2017 13:09:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dnpRF-0001fP-Lj for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2017 13:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2017 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28320 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.15042857136371 (code B ref -1); Fri, 01 Sep 2017 17:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2017 17:08:33 +0000 Original-Received: from localhost ([127.0.0.1]:40464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnpQm-0001eh-St for submit@debbugs.gnu.org; Fri, 01 Sep 2017 13:08:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnpQj-0001eT-IN for submit@debbugs.gnu.org; Fri, 01 Sep 2017 13:08:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnpQV-0005os-Tl for submit@debbugs.gnu.org; Fri, 01 Sep 2017 13:08:24 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnpQV-0005oe-Pd for submit@debbugs.gnu.org; Fri, 01 Sep 2017 13:08:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnpQ8-0006W5-Dm for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2017 13:08:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnpOW-0004nP-NC for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2017 13:07:52 -0400 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:37866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnpOW-0004m7-El for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2017 13:06:12 -0400 Original-Received: by mail-wm0-x22f.google.com with SMTP id u26so5032263wma.0 for ; Fri, 01 Sep 2017 10:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=+RGKp6EASUDE+y3SZCIHeye6ahBJB/dcQdRyDvImGoY=; b=CodIuHuGyampOfwjzmPAyymLoVql2C8MnaxGnHSy6XOCfL3vczXpKqXN0gdNzhInOj uTGskCAO9Noyxdd9QR7GX2tBH4AOL1ws+YbgiFBnMzLSj/Cw+03yRI8HAoGFYxTvVx6i 4A6GyOWRytMWUCejWmfDQE7nhyb+ONwBI5MYjgMZpIPQI/JMJnb/CL4q3Z48Y6c8mq20 a5ogcSTUOgYzAc9k1RdScoy7W51rEjrrPB3/naVsMA+Khtm4hZtVitlEn0YXWaB6gV08 qvXXDdgOIdgllsmmo4Q9rzBSjIRbjT/8jJQNfyA4UGmULo+Nfb19l5DD0DNG7Ni2IkWh 6Wwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=+RGKp6EASUDE+y3SZCIHeye6ahBJB/dcQdRyDvImGoY=; b=isFYyfs44+EvPmRrbzeXhTYPPBA68TFR+oiJvmvbreA9b9VvtBgl2+jcGH4JABCHlR f/WOfn1BWvW0CDvlzTeeZwdg1y+r64gd5++E1PDzd/XFAXAibqkgAK8dJNGdPMz1sZpY vrAcnM3KnZbh9EyZbmyeZNhq1L/0SHx2r4GafG/yHkmO6LfVNJCcUA3H6aqLYRpttPKH wyAOvvg7ir7kbuOLknZ9zTZ5KjxAFoHed4EiAXiKwdZl+gPznCImvuuFp1o9/ON3TDhv wKqEvQnrEGcjLce8HZxpo9FeK7NW8aB6Z4p19ON27jtrw1olzBMljuTq7H4d/cqy6cEE 07nQ== X-Gm-Message-State: AHPjjUggwSEJZ4DyCaRKfsSEgOkYmwxWVt05XMaU9IuKdPIaT9QXLXP7 9YMzII7R2V+jV+l+ X-Google-Smtp-Source: ADKCNb75c1jroddd0nA9SrjxIKTLWWLNRIWMJ5Q77JTXARxxjuJapkuIwKjymMhArAxkUPn01Pna5Q== X-Received: by 10.28.67.196 with SMTP id q187mr817381wma.148.1504285569461; Fri, 01 Sep 2017 10:06:09 -0700 (PDT) Original-Received: from dhiov23k ([197.2.178.3]) by smtp.gmail.com with ESMTPSA id 77sm355438wmt.8.2017.09.01.10.06.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Sep 2017 10:06:08 -0700 (PDT) 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.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:136445 Archived-At: Using TRAMP's sudo, in Eshell: $ alias c 'cp $*' $ sudo c foo /etc/bar /bin/cp: cannot create regular file 'bar': Permission denied (Assuming that the user does not have write permissions to /etc.) As a work around, it is possible to use "*sudo". In GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.15) of 2017-08-28 built on dhiov23k Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Gentoo Base System release 2.3 Configured using: 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/emacs-25.2 --htmldir=/usr/share/doc/emacs-25.2/html --libdir=/usr/lib64 --program-suffix=-emacs-25 --infodir=/usr/share/info/emacs-25 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=:gamestat --without-compress-install --with-file-notification=inotify --enable-acl --without-dbus --without-modules --without-gpm --without-hesiod --without-kerberos --without-kerberos5 --with-xml2 --without-selinux --with-gnutls --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --with-imagemagick --with-xft --without-cairo --without-libotf --without-m17n-flt --with-x-toolkit=gtk3 --without-xwidgets GENTOO_PACKAGE=app-editors/emacs-25.2 'CFLAGS=-march=ivybridge -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB GTK3 X11 Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix