Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

莫名生成了大量嵌套空文件夹 #2760

Closed
3 of 4 tasks
ywxksjhx opened this issue Dec 19, 2022 · 2 comments
Closed
3 of 4 tasks

莫名生成了大量嵌套空文件夹 #2760

ywxksjhx opened this issue Dec 19, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ywxksjhx
Copy link

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

3.6.0

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

系统:win10

测试 用户-编辑-权限复制 权限有什么用的时候 给我生成了无数个嵌套空文件夹

当时情况:用edge浏览器登录admin账号把游客账号的复制权限打开,之后用火狐浏览器(没有登录)发现右键单击文件时多出了复制选项,但是点击之后跳出弹框让选择文件夹,于是我新建了一个文件夹(没有改名,文件夹名:新建文件夹)然后复制选中此文件夹后发现什么也没复制到,于是我多试了几次发现剪切板上还是什么都没有,但是文件夹内多了一堆嵌套的文件夹(即 新建文件夹/新建文件夹/新建文件夹/新建文件夹/新建文件夹/...... 这种样子)且此时电脑风扇声音突然增大,任务管理器发现alist占用很高,猜测还在生成,于是直接结束进程,风扇声音恢复;之后使用win自带资源管理器删除(右键-删除)已无法删除,一点删除出现下图

image

点击重试之后资源管理器就崩溃闪退(重启也没用)幸好本人懂一点java代码,使用java递归删除(java只能删除文件和空文件夹,所以要删除非空文件夹需要递归)运行了有大概20秒才删除

Reproduction / 复现链接

怕损坏电脑没有复现;当时怕电脑出问题有点慌,所以执行代码时没计数也没计时,但之后测试创建了1000个嵌套文件夹,用同样的代码,删除时只用了2.4秒,所以保守估计当时有3000个左右的嵌套文件夹

Logs / 日志

No response

@ywxksjhx ywxksjhx added the bug Something isn't working label Dec 19, 2022
@welcome
Copy link

welcome bot commented Dec 19, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

@BoYanZh
Copy link
Contributor

BoYanZh commented Dec 19, 2022

日志呢

@xhofe xhofe closed this as completed in d756cf3 Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants