GNOME Bugzilla – Bug 687778
FS info query on smb always succeeds
Last modified: 2012-12-03 14:48:44 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.
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