I’m facing repeatedly this log entry:
[webdav] Fatal: OCA\DAV\Connector\Sabre\Exception\Forbidden: No read permissions at <<closure>>
0. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php line 195
OCA\DAV\Connector\Sabre\Directory->getChildren()
1. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 899
Sabre\DAV\Tree->getChildren("files/USERNAME/Algemeen Sales")
2. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 978
Sabre\DAV\Server->generatePathNodes(Sabre\DAV\PropFind {}, [Sabre\DAV\PropF ... }])
3. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1666
Sabre\DAV\Server->getPropertiesIteratorForPath("files/USERNAME/Algemeen Sales", ["{DAV:}resource ... "], 1)
4. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 355
Sabre\DAV\Server->generateMultiStatus(Generator {}, false)
5. <<closure>>
Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
6. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
undefinedundefinedcall_user_func_array([Sabre\DAV\CorePlugin {},"httpPropFind"], [Sabre\HTTP\Requ ... }])
7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
Sabre\Event\EventEmitter->emit("method:PROPFIND", [Sabre\HTTP\Requ ... }])
8. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
9. /var/www/nextcloud/apps/dav/lib/Server.php line 317
Sabre\DAV\Server->exec()
10. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
11. /var/www/nextcloud/remote.php line 163
undefinedundefinedrequire_once("/var/www/nextcl ... p")
PROPFIND /remote.php/dav/files/USERNAME/Algemeen%20Sales%20(2)
from 10.10.10.10 by USERNAME at 2019-11-19T08:16:53+00:00
[/details]
Nextcloud version: 17.0.1
Operating system and version: Ubuntu 16.04
Apache version: 2.4.18
PHP version: 7.2
This folder Algemeen Sales
is an external SMB storage which is shared with USERNAME. As I can see from the log, this directory is seen as local directory for USERNAME (files/USERNAME/Algemeen Sales
) which is not in this place hence the error.
How can I adjust some settings in Nextcloud so It does know that this is an external storage and not local? I’m not facing any issues besides this error entry. The user can access the external directory Algemeen Sales
without any problem.