Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot delete __jb_old___ file

It seems like WebStorm created a file login.component.ts___jb_old___ and I can't delete it or move it.

I've gone into settings and turned off safe write, and restarted WebStorm, but I can't delete the file, which is making me unable to run my docker container.

Doing an ls -ll prints

-rw-r----- 1 Uknown+User Unknown+User 2308 Feb 6 11:29 login.component.ts___jb_old___

All of the other files in the directory have the correct permissions and are owned by me.

I'm on Windows and I am the only user on the computer and set as Admin, I've opened an Admin command prompt and still get access denied when trying to change permissions of the file or delete the file.

When I open File Explorer to try and change it through the windows gui it tells me You do not have permission to view or edit this object's permission settings.

Any ideas on how I can delete this file?

like image 905
John Avatar asked Feb 07 '18 15:02

John


People also ask

Why won't my computer let me delete files?

It's most likely because another program is currently trying to use the file. This can occur even if you don't see any programs running. When a file is open by another app or process, Windows 11/10 puts the file into a locked state, and you can't delete, modify, or move it to another location.

Can't delete file because it is open in system?

This is the most promising method to fix the "file is open in another program" error. Click Ctrl + Shift + ESC to open the Task Manager. Alternatively, you can press Ctrl + Alt + Del or right-click the Taskbar and select Task Manager. If you're on Windows 11, the Taskbar right-click won't work.

How to force delete a file that cannot be deleted?

How to Force Delete a File/Folder That Cannot Be Deleted Windows 10 Close all apps and programs on your Windows 10 computer, and try to delete the file again to see if it can be deleted. Close File Explorer. You can click Start -> Type Task Manager and choose Task Manager to open it -> Find ...

Why can't I delete a file that is open in application?

Files cannot be deleted if the file is open in an application. Usually, you could receive the information when you can't delete a file like a picture showing below. Step 1. Go to Start, type Task Manager, and choose "Task Manager" to open it. Step 2. Find the application that is currently using the file, and select "End task". Step 3.

Can’t delete a file or folder in Windows 10?

Can’t Delete a File or Folder in Windows 10? 1 Open elevated Command Prompt in Windows 10. 2 Type del + file path command, press Enter to force delete file. 3 Type rmdir /s /q + folder directory, press Enter to force delete folder Windows 10.

How to delete old Windows 10 installation files?

Select the Previous Windows Installation(s) option to delete Windows.old folder; You can also choose to delete other installation files including Windows upgrade log files and Temporary Windows installation files etc; Click OK and select Delete Files on the pop-up dialog to confirm the deletion; Click Yes.


1 Answers

You shoud close your webstorm app.

I delete it success but created again when i refresh directory.

I restart the PC then this problem resolved...

like image 189
Cc Xu Avatar answered Sep 28 '22 18:09

Cc Xu