Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
On Cursor 3.24.18 for Linux, the Agent’s dedicated file-reading tool fails with Error: Permission denied when accessing an existing, readable, Git-tracked ROS 2 package.xml file.
Workspace search also fails, incorrectly reporting that the same file is filtered out by .cursorignore.
However, the Cursor editor opens the file normally, and the Agent terminal successfully reads the entire file using /usr/bin/cat (exit code 0).
The project’s .cursorignore contains only:
build/
install/
log/
*.bag
*.db3
None of these patterns should exclude the tested source file.
The dedicated file-reading failure reproduces on two Linux machines running Cursor 3.24.18: an Ubuntu 24.04 Dev VM and an NVIDIA Jetson Orin Nano (ARM64).
Steps to Reproduce
- Open a ROS 2 project in a single-root Cursor workspace.
- Open
src/rhs_robot_v1/rhs_robot_v1_control/package.xmlin the editor. - In Ask mode, request that Agent read the file using its dedicated file-reading tool. Result:
Error: Permission denied. - Request access using workspace search. Result:
Error running tool: Path '...' is filtered out by .cursorignore. - Ask Agent to read the same file using
/usr/bin/cat. Result: Success, exit code 0, with complete file contents.
The file is tracked by Git and is not ignored according to git check-ignore. The .cursorignore file is readable, and no .cursorindexingignore exists in the project root.
Expected Behavior
The dedicated file-reading tool and workspace search should successfully access an existing source file that is readable by the editor and terminal and is not excluded by the project’s ignore rules.
Operating System
Linux
Version Information
Version: 3.24.18
VS Code Extension API: 1.128.0
Commit: be4c9e5350d77747b42cd467cbd3370a753d4640
Date: 2026-10-13T18:12:58.182Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Linux x64 7.0.0-38-generic
For AI issues: which model did you use?
Grok 4.7
For AI issues: add Request ID with privacy disabled
4152867f-1081-403a-92a2-7435daf33ab4
Additional Information
Dev VM: Ubuntu 24.04, Cursor 3.24.18 AppImage launched with --no-sandbox. Agent mode: Ask; Read Access: System; Run Mode: Auto-Review.
The Jetson additionally experiences a Step 4/7 Agent terminal sandbox initialization failure, which is being discussed separately:
The relationship between these failures has not been established.
Terminal-based file inspection provides a workaround on the Dev VM, but the Agent’s dedicated file-reading and workspace-search tools remain unusable for the tested file.
Does this stop you from using Cursor
No - Cursor works, but with this issue