GNU bug report logs - #27168
eshell/sudo doesn't work with protected directories

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Yegor Timoshenko <yegortimoshenko@HIDDEN>; Keywords: unreproducible; merged with #27169; dated Wed, 31 May 2017 16:48:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) unreproducible; removed tag(s) patch. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.
Added tag(s) patch; removed tag(s) unreproducible. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.
Added tag(s) unreproducible. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.
Merged 27168 27169. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 May 2017 16:47:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 31 12:47:59 2017
Received: from localhost ([127.0.0.1]:47703 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dG6mt-0007hM-AE
	for submit <at> debbugs.gnu.org; Wed, 31 May 2017 12:47:59 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34851)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yegortimoshenko@HIDDEN>) id 1dG6mr-0007gx-QM
 for submit <at> debbugs.gnu.org; Wed, 31 May 2017 12:47:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <yegortimoshenko@HIDDEN>) id 1dG6ml-0001GF-Ry
 for submit <at> debbugs.gnu.org; Wed, 31 May 2017 12:47:52 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,MIME_HTML_ONLY,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52674)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <yegortimoshenko@HIDDEN>)
 id 1dG6ml-0001Ft-Mu
 for submit <at> debbugs.gnu.org; Wed, 31 May 2017 12:47:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53994)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <yegortimoshenko@HIDDEN>) id 1dG6mk-0005BC-7u
 for bug-gnu-emacs@HIDDEN; Wed, 31 May 2017 12:47:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <yegortimoshenko@HIDDEN>) id 1dG6mg-00016K-Au
 for bug-gnu-emacs@HIDDEN; Wed, 31 May 2017 12:47:50 -0400
Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:33247)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <yegortimoshenko@HIDDEN>)
 id 1dG6mg-00015T-2u
 for bug-gnu-emacs@HIDDEN; Wed, 31 May 2017 12:47:46 -0400
Received: by mail-lf0-x244.google.com with SMTP id m18so1970661lfj.0
 for <bug-gnu-emacs@HIDDEN>; Wed, 31 May 2017 09:47:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:mime-version:from:date:content-transfer-encoding:message-id
 :to; bh=5ketB9jILuNvM/iprDcpPpl0dblFKoZ864/iFFoydig=;
 b=bJ+n1j2k5ojBltWZY3SlPB5+KsDdGcSLo3Xt/OGbM4z8YqNWIWQ12e8q7rTxQsJbE2
 KL7DqCgR+bQnij/Scvr05iGbsOlXwhxCIwLKRYW+YvFlto7OoQXgO2Y6ntGTl/RCdMMu
 1a+dQouwoLV+ke8noQzXK+p4Oh9poptGRqDKgokiD74ek+ilm2woGDl+7hisVPSukrbs
 KduEzCAR328h02HybVfS5uAOEudjrk+51EWa+n1rpcxJZ+WbjwwEml5mNukoLHKhXsYP
 +ncI72TxCRQUCfussb03rEsQR+IJn7wb4c2sLaD98p7vJJ+z4/Ud+aJleeQy1ckWs6LQ
 6BFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:mime-version:from:date
 :content-transfer-encoding:message-id:to;
 bh=5ketB9jILuNvM/iprDcpPpl0dblFKoZ864/iFFoydig=;
 b=oXQVugn6jhxMVyQmuJN5qunrx2FjI6OWgOGbpk/z9RqXJ80nqsXssojshdj7bCSHR0
 BHjzzuC6GWkqLTzXOWkD+TukmyTL6njDfBOnEj9BELWrw/+KFPcCtA5R2wMTsYtdnCgL
 /9LVrCo6lyMtp5kkRof8B5rz98aOGWYvGXKoUuCWYMQXDRaWggblGXhjlox8tNemJRlw
 +t/mVvwDHO4Dnsp3T6cppigHoAz0KaO+rHA5l8IstIhEDSqm4DCrlJh1t8tOphQerR/e
 RKx/H2mtcgkJqc8jmVllw+Ij+Fm2y17WdXUHyj3u9rN/fHr02c9faMY5oXbRT+wXP/L+
 J2Uw==
X-Gm-Message-State: AODbwcDe928y2Kn43AQVB/V0PKT6qNStCthK0lHoAd3IuMvEtcK0+JuU
 zeSXOBZ8WLMsrp2ZSCA=
X-Received: by 10.46.15.2 with SMTP id 2mr8076206ljp.91.1496249264571;
 Wed, 31 May 2017 09:47:44 -0700 (PDT)
Received: from [172.20.10.8] ([94.25.177.125])
 by smtp.gmail.com with ESMTPSA id u3sm3686698lja.13.2017.05.31.09.47.36
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 31 May 2017 09:47:44 -0700 (PDT)
Subject: eshell/sudo doesn't work with protected directories 
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Content-Type: text/html; charset=us-ascii
X-Apple-Base-Url: x-msg://4/
X-Apple-Mail-Remote-Attachments: YES
From: Yegor Timoshenko <yegortimoshenko@HIDDEN>
X-Apple-Mail-Plain-Text-Draft: yes
X-Apple-Auto-Saved: 1
X-Apple-Windows-Friendly: 1
Date: Wed, 31 May 2017 19:36:57 +0300
X-Apple-Mail-Signature: SKIP_SIGNATURE
Content-Transfer-Encoding: 7bit
Message-Id: <CBAA2F69-74EC-4448-B6A6-B55A794125FA@HIDDEN>
X-Uniform-Type-Identifier: com.apple.mail-draft
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3273)
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-Received-From: 2001:4830:134:3::11
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.9 (--)

<html><head></head><body dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="ApplePlainTextBody"><div class="ApplePlainTextBody">Example (In M-x eshell):<br><br>cd /tmp<br>mkdir a<br>touch a/b<br>sudo chmod 700 a<br>sudo chown root:wheel a<br>sudo ls a<br><br>Expected output:<br><br>b<br><br>Instead I get:<br><br>/bin/ls: cannot open directory 'a': Permission denied<br><br>sudo cat a/b, etc. also don't work. I've found this problem while trying to cat my /etc/sudoers file:<br><br>$ sudo cat /etc/sudoers<br>Opening input file: Permission denied, /etc/sudoers</div></body></html>




Acknowledgement sent to Yegor Timoshenko <yegortimoshenko@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#27168; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 11 Jun 2017 13:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.