GNU bug report logs - #49724
27.2; Tramp /sudoedit:: does not preserve file security context

Previous Next

Package: emacs;

Reported by: xenodasein <at> tutanota.de

Date: Sat, 24 Jul 2021 18:11:02 UTC

Severity: normal

Found in version 27.2

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 49724 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: xenodasein <at> tutanota.de
Cc: Eli Zaretskii <eliz <at> gnu.org>, 49724 <49724 <at> debbugs.gnu.org>
Subject: Re: bug#49724: 27.2; Tramp /sudoedit:: does not preserve file
 security context
Date: Mon, 26 Jul 2021 09:57:21 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi,

> The described emacs invocation is Tramp specific. I've added the hint
> meanwhile to the Tramp manual, chapter "6 Reporting Bugs and
> Problems". It reads now
>
>    To exclude cache-related problems, flush all caches before running
> the test, *note Cleanup remote connections::.  Alternatively, and
> often better for analysis, reproduce the problem in a clean Emacs
> session started with ‘emacs -Q’.  Then, TRAMP does not load the
> persistency file (*note Connection caching::), and it does not use
> passwords from ‘auth-source.el’ (*note Password handling::).  If you
> really need a password cache, for example for the ‘sudoedit’ method,
> call
>
>      emacs -Q -l tramp \
>        --eval '(setq tramp-cache-read-persistent-data t)' \
>        --eval '(tramp-cleanup-all-connections)'

FTR, I have adapted Tramp such a way that this hack isn't needed anymore.

Best regards, Michael.




This bug report was last modified 3 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.