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

From: Jean Louis <bugs <at> gnu.support>
To: Michael Albinus <michael.albinus <at> gmx.de>
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 17:21:43 +0300
* Michael Albinus <michael.albinus <at> gmx.de> [2022-08-17 16:50]:
> > 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

If I do above, it would probably break Git and other things on local
computer. So it is better to set it for Tramp only, in my case, as I
do not handle version control on remote servers.

> --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---

That did work, and I am happy for it.

There is another disturbing warning which I always answer with "yes",
the one 

Autosave file on local temporary directory, do you want to continue?(yes or no)

I would like to avoid that warning above as well.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




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.