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#44963: 28.0.50; tramp over scp: text is read only on some apparently random lines Date: Mon, 30 Nov 2020 21:54:08 +0300 Message-ID: References: <867dq2omgf.fsf@protected.rcdrun.com> <87im9mg093.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27807"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: 44963@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 01 10:01:20 2020 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 1kk1XC-0006zA-Iu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Dec 2020 10:01:18 +0100 Original-Received: from localhost ([::1]:46124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk1XB-0005oh-Kw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Dec 2020 04:01:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk1Wx-0005mG-LM for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2020 04:01:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kk1Wx-00045H-CW for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2020 04:01:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kk1Wx-0003h8-AL for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2020 04:01:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2020 09:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44963 X-GNU-PR-Package: emacs Original-Received: via spool by 44963-submit@debbugs.gnu.org id=B44963.160681320714062 (code B ref 44963); Tue, 01 Dec 2020 09:01:03 +0000 Original-Received: (at 44963) by debbugs.gnu.org; 1 Dec 2020 09:00:07 +0000 Original-Received: from localhost ([127.0.0.1]:57738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk1W2-0003eg-KY for submit@debbugs.gnu.org; Tue, 01 Dec 2020 04:00:07 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:41887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk1Vw-0003cY-O5 for 44963@debbugs.gnu.org; Tue, 01 Dec 2020 04:00:04 -0500 Original-Received: from localhost ([::ffff:41.202.241.16]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C0007.000000005FC6060A.000016B4; Tue, 01 Dec 2020 08:59:53 +0000 Content-Disposition: inline In-Reply-To: <87im9mg093.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:194712 Archived-At: * Michael Albinus [2020-11-30 21:37]: > Jean Louis writes: > > Hi Jean, > > > I have noticed that I cannot edit remote files easily with {C-x C-q} as > > when doing it remotely, apparently random lines become read-only, then > > from those lines below I can edit .vim line but not .viminfo and none of > > the subsequent lines. There is no visible pattern to me why I cannot > > edit files in Dired over Tramp scp/ssh > > > > Here below I could edit first line and directory smos.cs-syd.ue but the > > second line smos.tar.gz is read only and then all > > drwxr-xr-x 12 admin admin 4096 Nov 26 23:12 smos.cs-syd.eu > > -rw-r--r-- 1 admin admin 247856 Nov 26 23:22 smos.tar.gz > > drwx------ 2 admin admin 4096 Nov 27 00:23 .ssh > > drwxr-xr-x 3 admin admin 4096 Nov 24 2016 .subversion > > drwxr-xr-x 3 admin admin 4096 Sep 15 19:03 sync > > drwx------ 3 admin admin 4096 Sep 26 22:46 .telegram-cli > > drwxr-xr-t 2 admin admin 4096 Oct 24 22:25 tmp > > -rw------- 1 root root 26136504 Oct 20 2019 VID_20190324_103021.3gp > > drwxr-xr-x 2 admin admin 4096 Feb 18 2016 .vim > > -rw------- 1 admin admin 12853 Jun 10 2018 .viminfo > > drwx------ 2 admin admin 4096 Jan 19 2016 .w3m > > -rw-r--r-- 1 admin admin 631 Oct 31 03:35 .wget-hsts > > -rw------- 1 admin admin 73 Sep 15 18:55 .Xauthority > > -rw-r--r-- 1 admin admin 47700 Nov 5 04:09 .zcompdump > > -rw------- 1 admin admin 36 Nov 5 04:10 .zsh_history > > -rw-r--r-- 1 admin admin 1335 Jan 16 2016 .zshrc > > Sorry, I don't understand. What do you intend to edit? The directory > buffer? Files in that directory? I cannot reproduce it. I was using emacs -Q to edit files over Tramp and now I am sorry I cannot reproduce it. I know that I placed ~ on the end of the file to test different functionaliy to try deleting it, related to old bug. Then I removed ~ and after few moments of testing some lines I could not delete. I am editing Dired buffers by using: C-x C-q runs the command dired-toggle-read-only (found in dired-mode-map), which is an interactive compiled Lisp function in ‘dired.el’. It is bound to C-x C-q. (dired-toggle-read-only) Edit Dired buffer with Wdired, or make it read-only. If the current buffer can be edited with Wdired, (i.e. the major mode is ‘dired-mode’), call ‘wdired-change-to-wdired-mode’. Otherwise, toggle ‘read-only-mode’. > Anyway, pls use "emacs -Q", set tramp-verbose to 6, and run your > recipe. Tell us the recipe, and show us the debug buffer.