From: Yegor Timoshenko <yegortimoshenko@gmail.com>
To: 27169@debbugs.gnu.org
Subject: bug#27169: eshell/sudo doesn't work with protected directories
Date: Wed, 31 May 2017 19:47:04 +0300 [thread overview]
Message-ID: <D3B4F1DA-119B-4C05-8EF5-DC5A95C42664@gmail.com> (raw)
Example (In M-x eshell):
cd /tmp
mkdir a
touch a/b
sudo chmod 700 a
sudo chown root:wheel a
sudo ls a
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
next reply other threads:[~2017-05-31 16:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 16:47 Yegor Timoshenko [this message]
2017-06-07 12:59 ` bug#27169: eshell/sudo doesn't work with protected directories npostavs
[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=D3B4F1DA-119B-4C05-8EF5-DC5A95C42664@gmail.com \
--to=yegortimoshenko@gmail.com \
--cc=27169@debbugs.gnu.org \
/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.