Critical Issue: File System Access Problems Causing Environment File Deletions

Critical Issue: File System Access Problems Causing Environment File Deletions

Dear Cursor Support Team,

I’m writing to report a critical issue with Cursor’s file system access that is severely impacting my development workflow. The AI assistant repeatedly fails to recognize existing files and appears to be deleting my .env.local configuration file, which contains essential environment variables for my project.

Issue Details:

  • Cursor repeatedly claims files don’t exist despite verification via terminal commands that they are present (ls -la confirms file existence)
  • Environment configuration files (specifically .env.local) keep disappearing from my project
  • Cursor’s AI assistant shows “Generating…” indefinitely when asked to create simple test files
  • The issue persists even after complete application restarts

Impact:

  • Development workflow disruptions requiring repeated recreation of critical configuration files
  • Loss of environment variables needed for local development
  • Reduced productivity and trust in the IDE
  • Need to implement workarounds via external scripts to monitor and restore deleted files

References:

This appears to be a known issue based on multiple forum threads:

Request:

I’m requesting an urgent fix for this issue. While I’ve implemented a temporary workaround using a file guardian script that monitors and restores deleted files, this is not a sustainable solution for a professional development environment.

Could you please provide:

  1. A timeline for when this issue will be addressed
  2. Any official workarounds recommended by the Cursor team in the interim
  3. Confirmation that you’re actively working on this issue

I’m happy to provide additional information, logs, or testing assistance if it would help in resolving this problem.

Thank you for your attention to this matter. I value Cursor’s capabilities and look forward to a resolution that will allow me to use it without these file system concerns.

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