mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24: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;
|
||||
return;
|
||||
case 1:
|
||||
case 13:
|
||||
throw new ForbiddenException($path, $error);
|
||||
case 2:
|
||||
throw new NotFoundException($path, $error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue