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


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: xenodasein <at> tutanota.de
Cc: 49724 <49724 <at> debbugs.gnu.org>
Subject: bug#49724: 27.2; Tramp /sudoedit:: does not preserve file security context
Date: Sun, 25 Jul 2021 16:05:51 +0200
xenodasein <at> 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.




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

Previous Next


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