Public bug reported:
Description: Ubuntu 18.04.1 LTS
Release: 18.04
gvfs-backends:
Instalados: 1.36.1-0ubuntu1.1
Candidato: 1.36.1-0ubuntu1.1
Tabla de versión:
*** 1.36.1-0ubuntu1.1 500
500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64
Packages
100 /var/lib/dpkg/status
1.36.1-0ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
When reading certain files I will get a read error and the program will fail.
For example:
cp /run/user/1000/gvfs/smb-share\:server\=****\,share\=test/myfile.txt .
cp: error reading
'/run/user/1000/gvfs/smb-share:server=****,share=test/myfile.txt': Invalid
argument
Or vlc myfilm.m4v
I get:
filesystem error: read error: Invalid argument
mp4 warning: mp4: wanted 675392 bytes, got 658962
mp4 warning: Failed reading box stco
Adding back the following code that was removed from
daemon/gvfsbackendsmb.c fixes the problem:
/* libsmbclient limits blocksize to (64*1024)-2 for Windows servers,
* let's do the same here to achieve reasonable performance. (#588391)
*
* TODO: port to pull mechanism (#592468)
*/
if (bytes_requested > 65534)
bytes_requested = 65534;
** Affects: gvfs
Importance: Undecided
Status: New
** Tags: gvfs-backends gvfsd-smb samba smb1 smb2
** Package changed: tomboy (Ubuntu) => gvfs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810166
Title:
gvfsd-smb generates read errors in SMB1 or SMB2
To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1810166/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs