From: npostavs@users.sourceforge.net
To: Yegor Timoshenko <yegortimoshenko@gmail.com>
Cc: 27169@debbugs.gnu.org
Subject: bug#27169: eshell/sudo doesn't work with protected directories
Date: Wed, 07 Jun 2017 08:59:09 -0400 [thread overview]
Message-ID: <87bmq0x8bm.fsf@users.sourceforge.net> (raw)
In-Reply-To: <D3B4F1DA-119B-4C05-8EF5-DC5A95C42664@gmail.com> (Yegor Timoshenko's message of "Wed, 31 May 2017 19:47:04 +0300")
tags 27169 unreproducible
quit
Yegor Timoshenko <yegortimoshenko@gmail.com> writes:
> Expected output:
>
> b
>
> Instead I get:
>
> /bin/ls: cannot open directory 'a': Permission denied
>
> sudo cat a/b, etc. also don't work. I've found this problem while trying to cat my /etc/sudoers file:
>
> $ sudo cat /etc/sudoers
> Opening input file: Permission denied, /etc/sudoers
Works for me, can you reproduce this from 'emacs -Q'? What Emacs
version are you using?
Welcome to the Emacs shell
~/src $ cd /tmp
/tmp $ mkdir a
/tmp $ touch a/b
/tmp $ sudo chmod 700 a
[sudo] password for npostavs:
/tmp $ sudo chown root:wheel a
[sudo] password for npostavs:
/tmp $ sudo ls a
[sudo] password for npostavs:
b
/tmp $
next prev parent reply other threads:[~2017-06-07 12:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 16:47 bug#27169: eshell/sudo doesn't work with protected directories Yegor Timoshenko
2017-06-07 12:59 ` npostavs [this message]
[not found] ` <9B3DCDF4-DA3C-40CB-B5E6-61FD2BB6DEC8@gmail.com>
2017-06-07 18:43 ` Yegor Timoshenko
2017-06-08 0:20 ` npostavs
2017-06-08 0:50 ` npostavs
2017-06-08 22:21 ` Yegor Timoshenko
2017-06-09 0:49 ` npostavs
2020-09-04 6:04 ` bug#27168: " Lars Ingebrigtsen
2020-10-07 3:29 ` Lars Ingebrigtsen
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=87bmq0x8bm.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=27169@debbugs.gnu.org \
--cc=yegortimoshenko@gmail.com \
/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.