all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yegor Timoshenko <yegortimoshenko@gmail.com>
To: 28540@debbugs.gnu.org
Subject: bug#28540: eshell/sudo find-file doesn't work as expected with files only readable by root
Date: Thu, 21 Sep 2017 15:25:40 +0000	[thread overview]
Message-ID: <CAF4sQCOR4dpMYHaiwMX1t7fCHvtnYPdSCLeacqbxFndbddFw1w@mail.gmail.com> (raw)

To reproduce, M-x eshell and compare behavior of these two commands:

$ ff /sudo::/etc/sudoers
$ sudo ff /etc/sudoers

In the first case the buffer is editable (and can be saved), while in
the latter it is opened read-only. Switching read-only flag with C-x
C-q doesn't help: I can edit the buffer, but not save it (results in
"Doing chmod: operation not permitted" error).

GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2017-09-21 (198ba449845ffa557ac272c3219c703148648f53)

Reproducible in Emacs 25.3 as well.





             reply	other threads:[~2017-09-21 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21 15:25 Yegor Timoshenko [this message]
     [not found] ` <handler.28540.B.150600755726250.ack@debbugs.gnu.org>
2017-09-21 15:30   ` bug#28540: Acknowledgement (eshell/sudo find-file doesn't work as expected with files only readable by root) Yegor Timoshenko
2018-06-22 12:23 ` bug#28540: eshell/sudo find-file doesn't work as expected with files only readable by root Michael Albinus
2019-09-29  1:07 ` Stefan Kangas

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=CAF4sQCOR4dpMYHaiwMX1t7fCHvtnYPdSCLeacqbxFndbddFw1w@mail.gmail.com \
    --to=yegortimoshenko@gmail.com \
    --cc=28540@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.