In Vertex AI workbench, User managed notebooks. I am unable to delete a folder that are not empty even if it contains an empty folder inside. A pop up will appear showing Delete Failed and directory /home/jupyter/...
is not empty
Asked
Active
Viewed 32 times
1
2 Answers
1
There's two solutions to this question that I found out.
Delete from the last file inside in the folder towards the parent folder, then you can delete it.
open terminal from the launcher by clicking on the + symbol and then
navigate to the home by entering this command cd $BASE/../..
then list the contents by ls
and then
rm -r directory_name
replace directory_name with folder or file you want to delete.
this way you can delete the folders or files.

boeing777
- 33
- 5
0
Just for reference in UmN /home/jupyter/
and default subfolders should not be deleted it contains system information for JupyterLab to operate,

gogasca
- 9,283
- 6
- 80
- 125