handle EACCES errors as forbidden

This commit is contained in:
Robin Appelman 2014-11-14 14:50:39 +01:00
commit d311cd3c21

View file

@ -34,6 +34,7 @@ class NativeState {
case 0; case 0;
return; return;
case 1: case 1:
case 13:
throw new ForbiddenException($path, $error); throw new ForbiddenException($path, $error);
case 2: case 2:
throw new NotFoundException($path, $error); throw new NotFoundException($path, $error);