Cannot Edit .cursor/rules from both Cursor Chat and Cursor CLI via edit_file even turning off dotfile protection. It says, edit: write permission denied.
Instead, they trying to bypass the protection using command, such as node writeFile or python, which is wasting tokens and feels dangerous to me.
This is very annoying when updating cursor rules.
Steps to Reproduce
Tell Cursor Agent to add blank line in some .cursor/rules file
File editing is all failed.
Expected Behavior
Edit .cursor/rules properly. At least, they force not to use commandline. It means dotfile protection is nothing to do with security.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. This is a known issue, and the team is already working on a fix.
The Write and StrReplace tools get blocked when trying to edit .cursor/rules without showing a confirmation prompt, even though they should ask for the user’s permission.