fix: fallback to stat handler when unix.Access fails for virtual file…#1319
fix: fallback to stat handler when unix.Access fails for virtual file…#1319amjadjibon wants to merge 1 commit intomvdan:masterfrom
Conversation
mvdan
left a comment
There was a problem hiding this comment.
The fallback logic doesn't seem right. As the TODO says, we need this logic to unconditionally use a handler, rather than use a mix of the real OS and a handler. If we mix both, then the sandboxing is entirely pointless still.
Hi, I'm looking at your feedback about the access handler fallback logic mixing real OS calls with handler calls. I'm wondering if adding a new Or would you prefer a different direction? The TODO mentions v4, so I want to make sure I'm heading in the right direction before proceeding. Thanks! |
#1318