-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception when when accessing a folder that is missing permissions #103
Comments
Yeah, I remember a similar thing happening some time in past on Windows 10 with its C:/ protections; I think I fixed that particular case but this codebase has a nasty trend of panicking instead of handling errors right, mistakes of my youth and all that. Thanks for the test-case, I'll look into it! |
Would you be so kind so as to try the commit referenced above? Should also fix files marked, similarly to the example, Also, I really like that tree view – is that a mock-up, or is there a tool that draws them like this? |
i expanded the example to all the edge cases i could think off of the top of my head,
no this is not a mock up, it is created with the linux utility |
Alright, great! Thanks for testing and letting me know about the |
Released in |
This issue ties in with #94 .
This has been tested under x86_64 Linux, but is probably also the case under other platforms.
General Info
Linux hzd 5.6.4-arch1-1 #1 SMP PREEMPT Mon, 13 Apr 2020 12:21:19 +0000 x86_64 GNU/Linux
http 1.9.1
Error
given a folder tree similar to this
when running http as user
aloy
, it will error when attempting to access thenot_work
folder instead of returning a sensible status code like403: Forbidden
.Reproducing
EDIT: Clarified example
The text was updated successfully, but these errors were encountered: