all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: xenodasein--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Eli Zaretskii <eliz@gnu.org>, 49724 <49724@debbugs.gnu.org>
Subject: bug#49724: 27.2; Tramp /sudoedit:: does not preserve file security context
Date: Sun, 25 Jul 2021 21:30:21 +0200 (CEST)	[thread overview]
Message-ID: <MfU8OVx--3-2@tutanota.de> (raw)
In-Reply-To: <87bl6qwksg.fsf@gmx.de>




Jul 25, 2021, 17:05 by michael.albinus@gmx.de:

> xenodasein@tutanota.de writes:
>
>>> This means that the password hasn't been cached. The sudoedit method
>>> does not keep a running session in the background, so every operation
>>> could require authentication.
>>>
>>
>> No matter how many times I retype the password, it doesn't work, keeps repeatedly asking for password. It works if I don't use emacs -Q, but use my own emacs configuration. How should I solve it for emacs -Q?
>>
>
> I see. As said, caching is disabled when "emacs -Q" is called. This is a
> problem for the sudoedit method. Could you try instead
>
> emacs -Q --eval '(setq tramp-cache-read-persistent-data t)'
>
> Best regards, Michael.
>

That indeed worked. I also tried -q without the eval part and that works too, thanks for your help.

There isn't much hint to side effects like this on the 'Emacs Invocation' part of emacs manual, is this explained in elisp manual maybe? What I found is "-Q’ Equivalent to ‘-q --no-site-file --no-splash’." and that it doesn't load 'default.el'.






  reply	other threads:[~2021-07-25 19:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24 17:47 bug#49724: 27.2; Tramp /sudoedit:: does not preserve file security context xenodasein--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-24 18:27 ` Eli Zaretskii
2021-07-24 18:46   ` xenodasein--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-24 18:57     ` Eli Zaretskii
2021-07-24 19:06       ` Michael Albinus
2021-07-24 19:13         ` Eli Zaretskii
2021-07-24 19:17           ` xenodasein--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-25 12:20             ` Michael Albinus
2021-07-25 13:04               ` xenodasein--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-25 14:05                 ` Michael Albinus
2021-07-25 19:30                   ` xenodasein--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-07-25 20:14                     ` Michael Albinus
2021-07-26  7:57                       ` Michael Albinus
2021-07-26 13:40                       ` xenodasein--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-31 13:53                         ` Michael Albinus
2021-08-25 10:02                           ` Michael Albinus
2021-07-24 19:20           ` Michael Albinus
2021-07-25 12:18           ` Michael Albinus

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=MfU8OVx--3-2@tutanota.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=49724@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=xenodasein@tutanota.de \
    /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.