small ownCloud permission bugfix