make sure that we always return the correct permissions
only the mount point has delete and update permissions to enable rename operation
add/update unit tests
always take root of the substorage
really always take root of the substorage
Merge pull request #9189 from owncloud/sharing_fix_permissions

Sharing fix permissions