Copying file to Windows server (SMB2) via gvfsd-fuse and gvfsd-smb fails with EINVAL

Bug #1803158 reported by Sebastien Bacher on 2018-11-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)

Bug Description

* Impact

If a share on a Windows file server (not a Samba server) is mounted and uses the SMB2 protocol, any attempt to copy or create a file for writing (e.g. using the cp or cat commands from the bash shell) on the mount point via FUSE will create a zero-length file but the open will return with an EINVAL error.

* Test case

- mount a sahre using smb2
- try to copy a file on the mount from e.g a command line

* Regression potential

Check that samba interactions keep working as they should

The bug was reported upstream on

Sebastien Bacher (seb128) wrote :

The issue is fixed in cosmic, let's SRU to bionic

Changed in gvfs (Ubuntu):
importance: Undecided → Low
status: New → Fix Released

Hello Sebastien, or anyone else affected,

Accepted gvfs into bionic-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gvfs (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Sebastien Bacher (seb128) wrote :

copies on 1.36.1-0ubuntu1.2 work as they should

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers