Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Folder Rename/Move Handling to Address EPERM Errors #3235

Open
1 task done
Pragadesh-45 opened this issue Oct 1, 2024 · 1 comment
Open
1 task done

Improve Folder Rename/Move Handling to Address EPERM Errors #3235

Pragadesh-45 opened this issue Oct 1, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request short-term-goal

Comments

@Pragadesh-45
Copy link
Contributor

Pragadesh-45 commented Oct 1, 2024

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add:

Existing issues: #678

Problem:

When attempting to rename/move a parent folder that contains subfolders on Windows, the operation often fails with an EPERM (Error: Permission Denied) error. This issue arises due to Windows’ strict permissions, file locking, and background processes keeping file handles open. Applications such as Visual Studio Code also face this issue when using the Node.js fs.promises.rename function, as documented in the following issues:

This behavior disrupts the user experience, making it difficult to consistently rename folders that contain subfolders, especially when some files are in use by the system or other processes.

Mockups or Images of the feature

20241001-0947-49.3882630.mp4
@Pragadesh-45 Pragadesh-45 added the enhancement New feature or request label Oct 1, 2024
@Pragadesh-45 Pragadesh-45 changed the title Improve Folder Renaming Handling to Address EPERM Errors Improve Folder Renaming/Move Handling to Address EPERM Errors Oct 1, 2024
@Pragadesh-45 Pragadesh-45 changed the title Improve Folder Renaming/Move Handling to Address EPERM Errors Improve Folder Rename/Move Handling to Address EPERM Errors Oct 1, 2024
@helloanoop
Copy link
Contributor

@Pragadesh-45, let's make some time this week to review and merge this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request short-term-goal
Projects
None yet
Development

No branches or pull requests

2 participants