GNU bug report logs - #70900
30.0.50; tramp complains "File error: Cannot remove lock file for /ssh:..." on every save when remote-file-name-inhibit-locks is non-nil

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Mon, 13 May 2024 01:04:02 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 70900 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#70900: 30.0.50; tramp complains "File error: Cannot remove lock file for /ssh:..." on every save when remote-file-name-inhibit-locks is non-nil
Date: Mon, 20 May 2024 03:08:40 +0300
Hi Michael,

On 15/05/2024 13:18, Michael Albinus wrote:
> In the debug buffer, there are messages of level 4 (entering a primitive
> file operation), level 5 (exiting the same operation), and level 6 (the
> remote commands Tramp emits). Like
> 
> --8<---------------cut here---------------start------------->8---
> 12:11:26.513974 tramp-sh-handle-file-exists-p (4) # Running `(file-exists-p "/ssh:gandalf:/net/ford/albinus/Books.org")' ...
> 12:11:26.514344 tramp-send-command (6) # test -e /net/ford/albinus/Books.org 2>/dev/null; echo tramp_exit_status $?
> 12:11:26.530496 tramp-wait-for-regexp (6) #
> tramp_exit_status 0
> ///fd26d4d0719c81d3c6e45f14adefee05#$
> 12:11:26.530742 tramp-sh-handle-file-exists-p (5) # Running `(file-exists-p "/ssh:gandalf:/net/ford/albinus/Books.org")' ... t
> --8<---------------cut here---------------end--------------->8---
> 
> This is my tool to analyze. Several optimiztations have been performed
> already, but there is still room for improvement, proposals/patches
> welcome.

Thank you, I've sent a message to bug#56342, which seems to have some 
pre-existing discussion on the subject.




This bug report was last modified 1 year and 58 days ago.

Previous Next


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