[Xfce-bugs] [Bug 15367] Regression: thunar detects writable share as being read-only

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue May 14 06:08:58 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15367

Andre Miranda <andreldm at xfce.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreldm at xfce.org

--- Comment #9 from Andre Miranda <andreldm at xfce.org> ---
g_file_info_get_attribute_boolean either returns TRUE or FALSE, when you
compare its result with NULL you are actually comparing it to 0 which is the
same of FALSE:
https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#FALSE:CAPS

So what your patch really does it to make impossible to reach g_set_error, thus
it seems to fix the problem for you.

Try to build and run the following sample:
https://gist.github.com/andreldm/007a07c2fd361e938cac42e1d5c04bd9

Please post here the output you get.
Also check how Nautilus or Nemo behave with your SMB share.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list