Shares tab fails if a shared folder is not mounted
Submitted by mar..@..il.com
Assigned to Daniel Morales
Description
If you have a previously shared folder on a partition or drive that is not currently mounted, you can no longer share folders. The tab in properties will say you may need to install samba, which is nonsense. Terminal output is more useful:
thunar-shares-plugin-lib-Message: exit code 255 thunar-shares-plugin-lib-Message: ------------------------------------------ thunar-shares-plugin-lib-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: info_fn: file /var/lib/samba/usershares/$unavailable-shared-folder is not a well formed usershare file. info_fn: Error was Path is not a directory.
Mount the partition where the share is located, restart thunar, problem goes away.
Archlinux 64-bit, up to date, thunar 1.2.1-2, thunar-shares-plugin from git 2010-11-24 http://git.xfce.org/thunar-plugins/thunar-shares-plugin/snapshot/thunar-shares-plugin-3a89ca67b27d717b13fed7851fce3244f31fc94e.tar.bz2