GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — fix(permission): port upstream case-insensitive file permission matching on macOS (anomalyco/opencode#64626) by devin-ai-integration[bot] · Pull Request #1842 · AltimateAI/altimate-code Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Devin Review found 1 potential issue.
1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| export function ignoresCase(permission: string, platform: NodeJS.Platform = process.platform) { | ||
| return platform === "darwin" && PATH_PERMISSIONS.includes(permission) | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🟥 File permissions allow distinct files
On case-sensitive macOS volumes, ignoresCase makes a file-specific allow match a distinct file whose name differs only by case. ReadTool then reads that file even when the default policy denies it.
Was this helpful? React with 👍 or 👎 to provide feedback.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
At least 1 approving review is required to merge this pull request.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
permission: file path rules can be bypassed on macOS by changing the case of the path
There was an error while loading. Please reload this page.