Can not delete a script

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By scorr14

For some reason I am unable to delete a script.

I am using 3.1.1 stable on Linux mint 19.2.

The steps I follow are…

-create a project.
-create a node and attach a script to that node.
-create the script using the subsequent script creation dialog.
-right click on node and clear script
-in godot editor file system panel, I right click on the script and hit ‘delete’

It then shows a a dialog entitled “Load Error”, and the body contains the string “Cannot Remove res://”.

If you find a bug, you can report it here: Issues · godotengine/godot · GitHub

Zylann | 2019-09-14 22:59

I just want to be sure it isn’t user error first.

scorr14 | 2019-09-15 20:44

:bust_in_silhouette: Reply From: Takito

I might be a bug! I have the same problem and it happens also when moving files to other folders. For example if I make a script in the root folder (i.e. res://) run my game everything is all good but if I make a sub folder for scripts and then move my script in there I get source file cannot be found. If I delete the script I get the same error massage. Very frustrating.