This is a serious issue. My system (and many Linux setups) contains several network shares (CIFS/NFS) and 2 FUSE-mounted filesystems. Because Cursor’s scanning does not respect mount boundaries ripgrep enters slow or blocked I/O on these mounts.
Steps to Reproduce
On Linux, have at least one slow or remote mount (NAS, FUSE, CIFS, etc.) somewhere under / or accessible from the opened folder tree.
Open any folder in Cursor.
Open the Git tab.
Observe:
“Scanning folder for Git repositories…” stays for a very long time.
Multiple rg processes are spawned.
Cursor becomes sluggish and Git UI is blocked.
Expected Behavior
Git scanning should check the current working directory for the presence of .git folder, then if it’s not found, it should check it’s parent, etc., up to the root folder. It should not aggressively scan the entire file system and multiple remote systems and mounts.
Operating System
Linux
Version Information
Version: 2.4.21
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Cursor/2.4.21 Chrome/142.0.7444.235 Electron/39.2.7 Safari/537.36
It is just extremely concerning that your development team is shipping new features and at the same time is failing to address a pretty serious issue (although not affecting most of the people) which has been known for more than a month now.
You don’t find that a decision to set Cursor to scan my entire filesystem is a bit controversial? Okay, I understand that this could be just a mistake in the filters passed to ripgrep, but then why not roll it back immediately? This is what I would have done in my team, if this code for some reason had even passed a code review.
One of your engineers stated here that the problem will be fixed in Cursor v2.4 release. I’m on version 2.4.21 and the problem is still there.
Workarounds? Well, I have tried limiting access to the shares, but Cursor still finds its way there. I’ve tried using AppArmor to restrict access, but no luck. Currently what works is to rename or move the rg binary before I start Cursor, so it doesn’t run a full scan, however that bricks the File Search and the Agentic mode, even after I restore the binary, so not really a usable workaround. I’m thinking that creating a sandbox for Cursor might actually work, but I don’t have time to tincker with this.