[Bug 2061026] Re: Copy file within cifs network share hangs with cp

Matteo Carotta 2061026 at bugs.launchpad.net
Sun May 5 20:38:42 UTC 2024


DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
Package: nautilus Version: 1:42.6-0ubuntu1

I can also report the same issue as in:

3. Copy files within the samba share (using nautilus)

Attempting to copy and paste the same file to the same destination through cp command works fine as long as no previous attempt has been performed throught nautilus.
In case an attempt thought nautilus has been made and a dummy file has been created in the process attempting to overwrite the dummy file with cp brings the command to hang.

I investigated a bit further the idea of a buggy upgrade (firstly nautilus) by reading the recent apt history(from 2024-04-09 until 2024-05-02 (last record))
by $ less /var/log/apt/history.log and $ less /var/log/apt/history.log.1.gz
and because nautilus has not been upgraded recently, I searched among its direct dependencies as by $ apt info nautilus:
only 
-libc6 (Upgrade: libc6:amd64 (2.35-0ubuntu3.6, 2.35-0ubuntu3.7), libc6:i386 (2.35-0ubuntu3.6, 2.35-0ubuntu3.7))
has been upgraded recently, which is very broad I guess...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cifs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/2061026

Title:
  Copy file within cifs network share hangs with cp

Status in cifs-utils package in Ubuntu:
  Confirmed

Bug description:
  Hi everyone,

  I experienced the following issues with my samba network setup after
  the last major update a few days ago. I am using ubuntu 23.10 on my
  main machine and a small thinclient. Both machines are up to date
  regarding updates.

  ------

  I have mounted a samba share from a truenas scale instance:
  //192.168.1.20/thiem /media/truenas/thiem cifs rw,_netdev,noserverino,vers=3.0,credentials=/home/ydmidy/.smbcredentials_truenas,nobrl,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0

  Before the latest update I was able to:
  1. Copy files from my local machine to the remote samba share
  2. Copy files from the samba share to my local machine
  3. Copy files within the samba share

  After the latest update #3 doesn't work anymore. #1 and #2 still do
  work. A dummy file (same name) is being created after pasting a file
  within the share and nautilus is stuck in that copy process. A "cp"
  command in the terminal ist terminated with the error message
  "killed".

  I am sure that this behaviour is happening after an update, because I
  reproduced the situation on my thinclient. After the most recent
  updates (I postponed them) "cp" doesn't work anymore on the samba
  share.

  I found quiet the same bug report for debian, maybe that helps:
  https://forums.debian.net/viewtopic.php?t=158075

  Thanks for your support!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/2061026/+subscriptions




More information about the foundations-bugs mailing list