After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687778 - FS info query on smb always succeeds
FS info query on smb always succeeds
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: smb backend
git master
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-06 16:15 UTC by Bastien Nocera
Modified: 2012-12-03 14:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2012-11-06 16:15:43 UTC
Even when it should fail.

For example:
$ gvfs-info smb://hadess@facile.local./hadess/doesntactuallyexist/
Error getting info: No such file or directory
$ gvfs-info -f smb://hadess@facile.local./hadess/doesntactuallyexist/
attributes:
  filesystem::type: cifs
  gvfs::backend: smb-share

The latter is supposed to fail so that I can check filesystem info for the parent directory instead.
Comment 1 Tomas Bzatek 2012-12-03 14:48:44 UTC
Thanks for catching this, fixed in master:

commit cf7f98995591f6c992467337469df41756c76b04
Author: Tomas Bzatek <tbzatek@redhat.com>
Date:   Mon Dec 3 15:46:01 2012 +0100

    smb: Report proper error on do_query_fs_info()
    
    We always reported success despite storing the smb call result.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687778