From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs 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 17:21:43 +0300 Message-ID: References: <86o7wk245x.fsf@protected.rcdrun.com> <87ilmsdqxw.fsf@gmx.de> <87r11f2d4d.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6117"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: 57238-done@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 17 16:23:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOJwt-0001NI-H6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 16:23:11 +0200 Original-Received: from localhost ([::1]:33668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOJws-0006dy-2S for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 10:23:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOJwk-0006at-87 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 10:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOJwj-0002Da-Vt for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 10:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOJwj-00040F-JC for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 10:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2022 14:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57238 X-GNU-PR-Package: emacs Original-Received: via spool by 57238-done@debbugs.gnu.org id=D57238.166074615915349 (code D ref 57238); Wed, 17 Aug 2022 14:23:01 +0000 Original-Received: (at 57238-done) by debbugs.gnu.org; 17 Aug 2022 14:22:39 +0000 Original-Received: from localhost ([127.0.0.1]:52753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOJwN-0003zV-AI for submit@debbugs.gnu.org; Wed, 17 Aug 2022 10:22:39 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:40595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOJwJ-0003zH-Og for 57238-done@debbugs.gnu.org; Wed, 17 Aug 2022 10:22:37 -0400 Original-Received: from localhost ([::ffff:197.239.7.211]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B0F.0000000062FCF9A8.00002549; Wed, 17 Aug 2022 07:22:31 -0700 Content-Disposition: inline In-Reply-To: <87r11f2d4d.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240086 Archived-At: * Michael Albinus [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/