Ok I got the hopefully final solution: The bug only occurs if the name of the deleted folder beginns with a letter that stands before the first letter of the second folder in the alphabet.
For example: If you have the shared folders "one" and "two", you have to delete "two" for the bug to occur. If you have the folder names "aa" and "bb" you must delete "aa" for the bug to occur. When deleting the alphabetically first folder the result of "net usershare info" will show first the normal share definition and at the end the error message. Thats what causes the bug. If you delete the alphabetically second folder, "net usershare info" will show the error message first, and then the normal share definition. In this case the bug will not occur. Summary: If the result of the command "net usershare info" ends with an error message the described bug will occur. The solution is: After deleting a shared folder, the share defninition in /var/lib/samba/usershares has to be removed as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/917906 Title: Can't determine shared folders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/917906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs