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


Message #17 received at 70900 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Michael Albinus <michael.albinus <at> gmx.de>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 70900 <at> debbugs.gnu.org
Subject: Re: 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, 13 May 2024 14:11:55 +0300
Hi Michael,

On 13/05/2024 10:28, Michael Albinus wrote:
>>> The description of remote-file-name-inhibit-locks says "Whether to
>>> create file locks for remote files.". And this is what Tramp
>>> does. Nothing said about checking/removing of lock files.
>>>
>>> If we want to suppress these actions as well, we shall agree about, and
>>> change the doc. Eli?
>> I think making the failure to remove be silent in this case is enough.
>> If the user sets this variable to t, they are not interested in
>> failures to remove lock files, even if it's for reasons other than
>> "file does not exist".
>>
>> IOW, it's okay to try to remove lock files, but if that fails, Emacs
>> should not display any error messages.
> Done, pushed to master. Anything else, Dmitry?

It's a good enough resolution for me. Thank you.




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

Previous Next


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