GNU bug report logs - #72641
31.0.50; "Unlocking file: Invalid argument" when deleting lock file on network file system

Previous Next

Package: emacs;

Reported by: Michal Nazarewicz <mina86 <at> mina86.com>

Date: Thu, 15 Aug 2024 16:03:02 UTC

Severity: normal

Merged with 70973

Found in versions 29.1, 31.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Michal Nazarewicz <mina86 <at> mina86.com>
Cc: 72641 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#72641: 31.0.50; "Unlocking file: Invalid argument" when deleting lock file on network file system
Date: Sat, 17 Aug 2024 15:38:06 -0700
On 2024-08-17 13:03, Michal Nazarewicz wrote:
> It looks like symlink(2) fails with EIO while the server creates
> a regular file, however it takes the client to notice another second.

Yes, it's definitely a file system bug, and I don't see any good way for 
Emacs to work around it.

You might try doing your CIFS mount with the mfsymlinks option. See:

https://docs.kernel.org/admin-guide/cifs/usage.html

https://wiki.samba.org/index.php/UNIX_Extensions#Minshall.2BFrench_symlinks

If you're already using mfsymlinks it might be a good time to file a bug 
report with your file system supplier.




This bug report was last modified 277 days ago.

Previous Next


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