Fix permissions functions for webdav external storages
Fix permissions functions for webdav external storages

jbicha/server,pmattern/server,pmattern/server,IljaN/core,michaelletzgus/nextcloud-server,whitekiba/server,cernbox/core,Ardinis/server,jbicha/server,xx621998xx/server,jbicha/server,sharidas/core,Ardinis/server,pollopolea/core,lrytz/core,owncloud/core,pixelipo/server,owncloud/core,sharidas/core,cernbox/core,pixelipo/server,lrytz/core,Ardinis/server,pollopolea/core,IljaN/core,cernbox/core,endsguy/server,nextcloud/server,whitekiba/server,bluelml/core,pixelipo/server,pmattern/server,michaelletzgus/nextcloud-server,jbicha/server,nextcloud/server,lrytz/core,pixelipo/server,andreas-p/nextcloud-server,owncloud/core,owncloud/core,endsguy/server,endsguy/server,pmattern/server,pollopolea/core,IljaN/core,michaelletzgus/nextcloud-server,endsguy/server,nextcloud/server,lrytz/core,sharidas/core,pixelipo/server,Ardinis/server,sharidas/core,phil-davis/core,whitekiba/server,andreas-p/nextcloud-server,Ardinis/server,pmattern/server,cernbox/core,whitekiba/server,whitekiba/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,bluelml/core,IljaN/core,xx621998xx/server,xx621998xx/server,cernbox/core,lrytz/core,pollopolea/core,xx621998xx/server,jbicha/server,sharidas/core,bluelml/core,bluelml/core,IljaN/core,andreas-p/nextcloud-server,michaelletzgus/nextcloud-server,endsguy/server,xx621998xx/server,owncloud/core,nextcloud/server,pollopolea/core,bluelml/core