Files on smb share reported as not writable
This is a follow-up of glib#1689 (closed), that issue was fixed but now Thunar checks for G_FILE_ATTRIBUTE_FILESYSTEM_READONLY
and G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE
, the latter yields FALSE
for destination folders on a SMB share.
Please use the following sample app to reproduce: https://gist.github.com/andreldm/007a07c2fd361e938cac42e1d5c04bd9
The result is:
$ ~/fs_sample $(pwd)
/run/user/1000/gvfs/smb-share:server=192.168.1.112,share=share/foo is a directory
is /run/user/1000/gvfs/smb-share:server=192.168.1.112,share=share/foo on read only filesystem? FALSE
can /run/user/1000/gvfs/smb-share:server=192.168.1.112,share=share/foo be written? FALSE
However that folder (foo) is writable, I can create files and move files to it using cp/mv
Downstream bug: Xfce 15367