mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
handle EACCES errors as forbidden
This commit is contained in:
parent
466ba929a3
commit
d311cd3c21
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue