This sounds brutal, but unfortunately, there is nothing we can do as mc developers here.
In the past, we have added workarounds suggested by users for CIFS, and I have received other reports that the CIFS driver is behaving in questionable ways: https://github.com/MidnightCommander/mc/issues/4677 However, it seems that your issues are really getting out of hand. Also, they affect more than just mc, as you wrote. Unfortunately, I've had little success convincing users to escalate this issue to the kernel maintainers. I don't use Linux or CIFS, so I can't help you. Please try to get some CIFS people to look into this, and until then maybe you can use smbfs instead. ** Bug watch added: github.com/MidnightCommander/mc/issues #4677 https://github.com/MidnightCommander/mc/issues/4677 ** Package changed: mc (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2111366 Title: Copying a file from or to a cifs mounted drive does not end Status in linux package in Ubuntu: New Bug description: When I copy a file with mc or simply with 'cp' on Ubuntu 25.04, kernel 6.14.0-15, the copying does not stop and instead of getting for instance a 1 kByte large file I have to press ctrl-c (or kill mc) to stop because of the file gets larger and larger and copying does not stop. Workarounds: 1st Using rsync to copy the file. 2nd Using the previous 6.11 kernel from Ubuntu 24.10 for copying. Remarks: 1st I destroyed local clones of git repositories where the repositories are located at a Windows network compatible drive on the fritz box, so `git` is affected too. 2nd Using `gio mount smb://Server/Drive` is no way, because I cannot clone or pull a git repository from such a file. Also, not all files are copied if I mark them within `mc`, so there are other problems there. 3rd Tested on 3 different laptops. ProblemType: Bug DistroRelease: Ubuntu 25.04 Package: mc 3:4.8.33-1 ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0 Uname: Linux 6.14.0-15-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.32.0-0ubuntu5 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 20 22:07:29 2025 InstallationDate: Installed on 2016-10-03 (3152 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) SourcePackage: mc UpgradeStatus: Upgraded to plucky on 2025-04-20 (30 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2111366/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp