# Cursor agent (CLI) cannot modify file in hidden directory

**URL:** <https://forum.cursor.com/t/cursor-agent-cli-cannot-modify-file-in-hidden-directory/131626>\
**Category:** Bug Reports\
**Tags:** cli\
**Created:** [August 22, 2025, 9:26am UTC](https://forum.cursor.com/t/cursor-agent-cli-cannot-modify-file-in-hidden-directory/131626 "2025-08-22T09:26:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dylan.jeong\_Jinsuk\_J](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@Dylan.jeong\_Jinsuk\_J](https://forum.cursor.com/u/Dylan.jeong_Jinsuk_J)\
**Post date:** [August 22, 2025, 9:26am UTC](https://forum.cursor.com/t/cursor-agent-cli-cannot-modify-file-in-hidden-directory/131626/1 "2025-08-22T09:26:51Z")

</div>

### Where does the bug appear (feature/product)?

Cursor CLI

### Describe the Bug

Hello Team!

I encountered this error when trying to edit a markdown file inside a hidden directory:

│ .cursor/docs/PLA-941.md Blocked by permissions configuration │

When I checked the file permissions using `ll -al`, it showed full read and write access.

The confusing part is that the behavior seems non-deterministic — most of the time I can edit the file, but occasionally I cannot.

Has anyone else experienced this issue?

### Steps to Reproduce

Prompt “do edit docs sync with code”

### Expected Behavior

edit docs

### Operating System

MacOS

### Current Cursor Version (Menu → About Cursor → Copy)

2025.08.22-82fb571  
cli. there is not menu

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [August 24, 2025, 9:13am UTC](https://forum.cursor.com/t/cursor-agent-cli-cannot-modify-file-in-hidden-directory/131626/2 "2025-08-24T09:13:54Z")

</div>

Hey, thanks for the report. Could you let me know which model you are using? I just checked with all models and it’s working for me.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/f/a/fa0a866652e25a4937934635e929c7ce7f1865e1.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 15, 2025, 9:14am UTC](https://forum.cursor.com/t/cursor-agent-cli-cannot-modify-file-in-hidden-directory/131626/3 "2025-09-15T09:14:18Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
