caja hangs copying folder from mounted windows share

Bug #1730455 reported by Cruxic
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
caja (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

At work we have a Windows file server which I have mounted via my fstab. Using caja I can copy single files from this server to my local file system just fine. However, when I attempt to copy folders that have many files and a subdirectories the copy progress dialog hangs (see screenshot). I can close the copy dialog but caja will refuse to copy any other files, (even just local files) until I `killall caja` and restart it.

I can do the same copy via the command-line without problem (eg `cp -R /mnt/software/the/folder ~/Downloads`).

No interesting output from `sudo journalctl -f` while all this is happening.

My fstab mounts it like so:

//companyserver/GroupFolders/Research/software /mnt/software cifs noauto,user=adamb,password=mypassword,dom=COMPANY_DOMAIN,uid=adamb,gid=adamb

I have tried setting up a VM with a samba server and using it to copy the exact same folders, but caja does not lockup. I suspect there's some subtle differences between a samba server and our Windows file server.

I'm running Ubuntu-Mate 17.10 (64bit). What's the best way to track down the problem? I'm a developer so I could do some basic debugging if needed.

Revision history for this message
Cruxic (cruxic) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in caja (Ubuntu):
status: New → Confirmed
Revision history for this message
sterios prosiniklis (steriosprosiniklis) wrote :

Seems that adding the version=3.0 argument mounting the share via cifs, solves the problem...

i.e.
/mnt/xxxxx -fstype=cifs,vers=3.0,rw,credentials=/home/xxx/.cifspwd,nodfs,iocharset=utf8,uid=1000,gid=1000,file_mode=0700,dir_mode=0700 ://xxx.xxx.xx.xxx/xxxxx

Revision history for this message
sterios prosiniklis (steriosprosiniklis) wrote :

Didn't test thoroughly. Worked fine with a simple test configuration. When the directory/folder contains more folders in multiple levels (ie 3-4 folders the one inside the other), with long names, fails as usual...

Norbert (nrbrtx)
Changed in caja (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Norbert (nrbrtx) wrote :

Can you reproduce this bug with newer version of Ubuntu MATE?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for caja (Ubuntu) because there has been no activity for 60 days.]

Changed in caja (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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