unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27169: eshell/sudo doesn't work with protected directories
@ 2017-05-31 16:47 Yegor Timoshenko
  2017-06-07 12:59 ` npostavs
  0 siblings, 1 reply; 9+ messages in thread
From: Yegor Timoshenko @ 2017-05-31 16:47 UTC (permalink / raw)
  To: 27169

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




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-07  3:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-31 16:47 bug#27169: eshell/sudo doesn't work with protected directories Yegor Timoshenko
2017-06-07 12:59 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).