check if I can create a file at the location
Merge pull request #11474 from owncloud/fix_trash_permission_check

check if I can create a file at the location