[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57238: 29.0.50; Tramp: as root on remote SSH server: file is write p
From: |
Michael Albinus |
Subject: |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Version: 29.1
Jean Louis <bugs@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.