
send2trash failed: [Errno 13] Permission denied: b'/data/.Trash-1383490'...
处理办法:
root@fddf4db5ffa8:/workspace# jupyter server list
Currently running servers:
http://0427f4ac397c:8888/?token=17749a799475dab1ff6eddaec5a3b45f4efb5de3733646cf :: /workspace
http://localhost:8888/?token=06a66a8d544af88da414d0d696886e982145bb88e265cc59 :: /disk1
root@fddf4db5ffa8:/workspace# jupyter server --generate-config
Writing default config to: /root/.jupyter/jupyter_server_config.py
root@fddf4db5ffa8:/workspace# vi /root/.jupyter/jupyter_server_config.py
root@fddf4db5ffa8:/workspace# cat /root/.jupyter/jupyter_server_config.py |grep Trash
root@fddf4db5ffa8:/workspace# cat /root/.jupyter/jupyter_server_config.py |grep trash
# if the data size is too big for the trash/recycle bin the directory will be permanently
# deleted. If False (default), the non-empty directory will be sent to the trash only
# if safe. And if ``delete_to_trash`` is True, the directory won't be deleted.
# platform's trash/recycle bin, where they can be recovered. If False,
c.FileContentsManager.delete_to_trash = False
# See also: FileContentsManager.delete_to_trash
# c.AsyncFileContentsManager.delete_to_trash = True
重启:
root@e13326987710:/disk1# more start.sh
#!/bin/bash
jupyter lab --ip="*" --allow-root --notebook_dir=/disk1 &
相关参考:
解决jupyter删除文件时出现:send2trash failed: [Errno 13] Permission denied: b'/data/.Trash-1383490'...-CSDN博客
2163



被折叠的 条评论
为什么被折叠?



