unable to copy small files with nautilus on cifs mount

Bug #1824497 reported by Alain DELANGE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Triaged
Low
Unassigned

Bug Description

I have this bug on two different computers with ubuntu 18.04
I never encounter this this 16.04 and any previous releases

I am working on a web site with many (twenty) small php files (less than 100bytes)

When I copy paste the full www folder nautilus hangs on a certain file, a small one...
When I copy paste one small file from a subfolder of www to an other sufolder it hangs

I got the message :
Copie de index.php vers pictures
0 octet / 65 octets - environ 596 523 heures restantes

Sometimes I got a 0 byte in my folder which is hard to remove even on terminal

But If I do a paste again, just after the stall, I got from nautilus the message the file exists and if I "replace" it works.

Copying/pasting a file in the same folder don't work at all :
Duplication de index.php
0 octet / 65 octets - environ 596 523 heures restantes

*************
context :
I am working with different computers physicals and virtualbox on these files with absolutely no problems
The configuration is always the same:
My cifs mount are mounted with autofs on /home/ad/auto
I have something like that in autofd configuration files:

moi -fstype=cifs,credentials=/home/ad/.credentials/ad-credentials,iocharset=utf8 ://192.168.1.20/ad_moi

I have the problem when I am on the same computer, the one with samba server, in this case I have
127.0.0.1 instead of 192.168.1.20in config files.

The problem is not with autofs. I can get it without it...

I can reproduce it on an other computer with ubuntu 19.10
the copy/paste of www hangs on the first file : a 388 bytes png file

copying with terminal with cp works fine

***************

lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10

apt-cache policy nautilus
nautilus:
  Installé : 1:3.26.4-0~ubuntu18.04.4
  Candidat : 1:3.26.4-0~ubuntu18.04.4
 Table de version :
 *** 1:3.26.4-0~ubuntu18.04.4 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.26.3-0ubuntu4 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

I hope this bug will be solved soon !

thank you

ad.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, it could be useful to report to the software writters directly on https://gitlab.gnome.org/GNOME/nautilus/issues/
(note that it could be a gvfs/glib(gio) issue, do you get the same problem with gio copy?)

Changed in nautilus (Ubuntu):
importance: Undecided → Low
Revision history for this message
Alain DELANGE (alain-delange) wrote :

After further test
the files, the samba server is ubuntu 18.04 lts

apt-cache policy samba
samba:
  Installé : 2:4.7.6+dfsg~ubuntu-0ubuntu2.9
  Candidat : 2:4.7.6+dfsg~ubuntu-0ubuntu2.9
 Table de version :
 *** 2:4.7.6+dfsg~ubuntu-0ubuntu2.9 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2:4.7.6+dfsg~ubuntu-0ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

I start a virtual box with ubuntu 16.04lts, access to my files through autofs and do a copy paste on my www folder : OK

apt-cache policy nautilus
nautilus:
  Installé : 1:3.18.4.is.3.14.3-0ubuntu6
  Candidat : 1:3.18.4.is.3.14.3-0ubuntu6
 Table de version :
 *** 1:3.18.4.is.3.14.3-0ubuntu6 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.18.4.is.3.14.3-0ubuntu4 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

I start an other virtualbox machine with ubuntu 18.10 an do the same copy paste of my folder :
duplication de 1/160 fichiers and hangs !
nautilus:
  Installé : 1:3.26.4-0~ubuntu18.04.2
  Candidat : 1:3.26.4-0~ubuntu18.04.4
 Table de version :
     1:3.26.4-0~ubuntu18.04.4 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
 *** 1:3.26.4-0~ubuntu18.04.2 100
        100 /var/lib/dpkg/status
     1:3.26.3-0ubuntu4 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

its a pity that we cant no more copy a folder over the network !

ad

Revision history for this message
Alain DELANGE (alain-delange) wrote :

gio copy hangs after the firt file

gio copy -p auto/moi/PHP/Newsletter/mob/* auto/moi/PHP/Newsletter/mob5/
684 octets sur 684 octets transférés (684 octets/s)

Revision history for this message
Alain DELANGE (alain-delange) wrote :

so you think we have to search the problem with gvfs ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

IF the gio copy command has the same issue then yes it's probably gvfs rather than nautilus to blame, you should report your finding on https://gitlab.gnome.org/GNOME/gvfs since that's the right place for upstream code issues (the Ubuntu team does integration and contribute in those projects but on launchpad you then only hit a subset of the people who can help getting it resolved)

Revision history for this message
Alain DELANGE (alain-delange) wrote :

ok thanks
ad.

Revision history for this message
Alain DELANGE (alain-delange) wrote :

Transferred to this location :

https://gitlab.gnome.org/GNOME/gvfs/issues/392
"gio copy and nautilus hang when copying small files on cifs shares on ubuntu 18.04"

hope this will help

ad.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks!

Changed in nautilus (Ubuntu):
status: New → Triaged
affects: nautilus (Ubuntu) → gvfs (Ubuntu)
affects: gvfs (Ubuntu) → nautilus (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.