RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2080478 - Some file operations fail with gvfs fuse SMB mount
Summary: Some file operations fail with gvfs fuse SMB mount
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gvfs
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.7
Assignee: Ondrej Holy
QA Contact: Petr Schindler
URL:
Whiteboard:
: 2092205 (view as bug list)
Depends On:
Blocks: 2093816
TreeView+ depends on / blocked
 
Reported: 2022-04-29 18:47 UTC by RW
Modified: 2022-11-08 10:44 UTC (History)
7 users (show)

Fixed In Version: gvfs-1.36.2-13.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2093816 (view as bug list)
Environment:
Last Closed: 2022-11-08 09:45:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 795805 0 None None None 2022-04-29 18:47:02 UTC
Red Hat Issue Tracker RHELPLAN-120620 0 None None None 2022-04-29 18:49:29 UTC
Red Hat Product Errata RHBA-2022:7587 0 None None None 2022-11-08 09:46:00 UTC

Description RW 2022-04-29 18:47:03 UTC
Description of problem:
Some file operations fail with gvfs fuse SMB mount. I believe this is fixed upstream in a later gvfs version (1.37.2). Applying the git diff from the fix commit as a patch to the source RPM and rebuilding fixes the issue. Is it possible to integrate the fix into the EL8 package?

Gnome bug report -> https://bugzilla.gnome.org/show_bug.cgi?id=795805
Fix commit upstream -> https://gitlab.gnome.org/GNOME/gvfs/-/commit/3f6f906c7c7b28dc30edb98200b6e13e1a513bb4

Version-Release number of selected component (if applicable): gvfs-smb 1.36.2-11 (latest seen in Centos Stream 8)

How reproducible: Simple to reproduce on the Linux side, but needs a Windows file server, with an account that has write access

Steps to Reproduce:
1. Have gvfs-smb and gvfs-fuse packages installed
2. Mount Windows file share (enter credentials as prompted) - gio mount smb://<hostname>/<share name>
3. Try to copy a file to the share using cp, via the fuse path in $XDG_RUNTIME_DIR/gvfs/

Actual results (error message varies depending on if target file exists or not, but both fail):
[~]$ cp /tmp/test.txt $XDG_RUNTIME_DIR/gvfs/smb-share\:server\=fileserver.ourdomain\,share\=users/myuser/
cp: cannot fstat '/run/user/1111/gvfs/smb-share:server=fileserver.ourdomain,share=users/myuser/test.txt': Invalid argument
[~]$ cp /tmp/test2.txt $XDG_RUNTIME_DIR/gvfs/smb-share\:server\=fileserver.ourdomain\,share\=users/myuser/
cp: cannot create regular file '/run/user/1111/gvfs/smb-share:server=fileserver.ourdomain,share=users/myuser/test2.txt': Invalid argument


Expected results: No error (file copy succeeds)


Additional info: strace shows this hitting EINVAL

Comment 3 Ondrej Holy 2022-06-02 10:00:19 UTC
*** Bug 2092205 has been marked as a duplicate of this bug. ***

Comment 8 Petr Schindler 2022-07-11 19:07:27 UTC
Bug is fixed in version gvfs-1.36.2-13.el8. No regression found.

Comment 10 errata-xmlrpc 2022-11-08 09:45:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (gvfs bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7587


Note You need to log in before you can comment on or make changes to this bug.