英文:
can not delete folders from user managed notebooks in Vertex AI, shows Delete Failed, Directory /home/jupyter not empty
问题
在Vertex AI工作台的用户管理笔记本中,即使包含一个空文件夹,我也无法删除一个非空文件夹。弹出窗口会显示“删除失败”,并提示目录/home/jupyter/...
不为空。
英文:
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
答案1
得分: 1
这个问题有两个解决方案:
- 从文件夹中的最后一个文件开始,向上级文件夹删除,然后你就可以删除它。
- 通过点击**+**符号从启动器打开终端,然后通过输入以下命令导航到主目录:
cd $BASE/../..
,然后使用ls
列出内容,然后使用rm -r 目录名
删除文件夹或文件,将目录名替换为你想要删除的文件夹或文件。
通过这种方式,你可以删除文件夹或文件。
英文:
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.
答案2
得分: 0
只是作为参考,在UmN中,/home/jupyter/
和默认的子文件夹不应该被删除,因为它们包含了JupyterLab运行所需的系统信息。
英文:
Just for reference in UmN /home/jupyter/
and default subfolders should not be deleted it contains system information for JupyterLab to operate,
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论