GNU bug report logs -
#49724
27.2; Tramp /sudoedit:: does not preserve file security context
Previous Next
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
> Date: Sat, 24 Jul 2021 19:47:20 +0200 (CEST)
> From: xenodasein--- via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> The command: ls -Z /etc/fstab
> Outputs: unconfined_u:object_r:etc_t:s0 /etc/fstab
> On an unmodified fstab file. If I modify the file using 'sudoedit'
> command, which uses GNU Nano on this system, preserves the same extended
> file attributes. However, after using emacs -Q:
> C-x C-f /sudoedit::/etc/fstab
> <any file modification>
> C-x C-s
> The command: ls -Z /etc/fstab
> Outputs: unconfined_u:object_r:user_tmp_t:s0 /etc/fstab
> Which will prevent system from booting.
Did you try to use backup-by-copying, with or without
backup-by-copying-when-privileged-mismatch?
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.