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 #29 received at 49724 <at> debbugs.gnu.org (full text, mbox):

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

Hi,

>> >> > Did you try to use backup-by-copying, with or without
>> >> > backup-by-copying-when-privileged-mismatch?
>> >>
>> >> No, I can try again with an emacs -Q and some certain variables set if you require.
>> >
>> > Michael, could that help?
>>
>> It's already on my todo, but rather for tomorrow.
>
> I'm asking whether using backup-by-copying could have helped the OP in
> that use case.  If it could, I'd ask the OP to try that, but if you
> say this is currently a deficiency for which we have no solution, then
> the OP doesn't need to try backup-by-copying.

There was indeed an error in tramp-sudoedit.el, which I could reproduce
locally. Shall be fixed now by last commit to master.

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.