can not delete folders from user managed notebooks in Vertex AI, shows Delete Failed, Directory /home/jupyter not empty

huangapple go评论89阅读模式
英文:

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

这个问题有两个解决方案:

  1. 从文件夹中的最后一个文件开始,向上级文件夹删除,然后你就可以删除它。
  2. 通过点击**+**符号从启动器打开终端,然后通过输入以下命令导航到主目录:cd $BASE/../..,然后使用ls列出内容,然后使用rm -r 目录名删除文件夹或文件,将目录名替换为你想要删除的文件夹或文件。

通过这种方式,你可以删除文件夹或文件。

英文:

There's two solutions to this question that I found out.

  1. Delete from the last file inside in the folder towards the parent folder, then you can delete it.

  2. 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,

huangapple
  • 本文由 发表于 2023年8月9日 17:35:17
  • 转载请务必保留本文链接:https://go.coder-hub.com/76866411.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定