GNU bug report logs - #57238
29.0.50; Tramp: as root on remote SSH server: file is write protected, for -rw-r--r-- 1 admin admin 46587 Aug 5 20:42 websites

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Tue, 16 Aug 2022 04:44:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


Message #16 received at 57238-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jean Louis <bugs <at> gnu.support>
Cc: 57238-done <at> debbugs.gnu.org
Subject: Re: bug#57238: 29.0.50; Tramp: as root on remote SSH server: file
 is write protected, for -rw-r--r-- 1 admin admin 46587 Aug 5 20:42
 websites
Date: Wed, 17 Aug 2022 15:50:10 +0200
Version: 29.1

Jean Louis <bugs <at> gnu.support> writes:

Hi Jean,

> Now it works, feel free to close it.

Done.

> I wonder if it is possible to exclude that warning "Checking
> `vc-registered'" as it is just disturbing, Tramp is anyway slow and
> turning it off could speed up the process.

This is version control, enabled by default in Emacs. If you don't need
it at all, you can disable it by setting vc-handled-backends to nil. If
you want to disable it just for all remote files, you can set
vc-ignore-dir-regexp to an appropriate value. The Tramp manual
recommends

--8<---------------cut here---------------start------------->8---
(setq vc-ignore-dir-regexp
      (format "\\(%s\\)\\|\\(%s\\)"
              vc-ignore-dir-regexp
              tramp-file-name-regexp))
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.




This bug report was last modified 2 years and 281 days ago.

Previous Next


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