Activity View: honor error string even if no warning

that allows to specify a more specific user message to be displayed.
Permissions: If a top level shared dir is removed, do not restore files in it

A top level shared dir can always be removed on the client, even if it is
read only shared. In that case, the removal means "unsharing". Fixed the
permission check accordingly.

See bug #1918 for more information.