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

admin_web无法删除文件 #905

Closed
5 tasks done
yuanxi953 opened this issue May 20, 2024 · 4 comments
Closed
5 tasks done

admin_web无法删除文件 #905

yuanxi953 opened this issue May 20, 2024 · 4 comments

Comments

@yuanxi953
Copy link

Describe the bug

复现步骤

我采用的是Docker部署

  • 1、转到admin前端(https://server.example.com/proxy/qaqdmin)
  • 2、点击文件菜单
  • 3、随便单击子选项图标头像文件
  • 4、尝试点击删除任意文件,提示删除成功
  • 5、随意来回切换子选项图标头像文件或者刷新,被删除的文件又诈尸了,且这文件还能正常以链接形式访问

Reproduction

https://alist.yuanxi953.cn:4433/BUG%E5%8F%8D%E9%A6%88%E7%9B%B8%E5%85%B3/mx-space_mx-admin_2024-05-20%2017-32-16.mkv

System Info

System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (2) x64 Intel(R) Xeon(R) Platinum
    Memory: 412.82 MB / 1.69 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 20.11.1 - /usr/local/NodeJS/node-v20.11.1-linux-x64/bin/node
    npm: 10.2.4 - /usr/local/NodeJS/node-v20.11.1-linux-x64/bin/npm


{
    "name": "@mx-space/core",
    "author": "Innei <https://innei.ren>",
    "version": "5.7.6",
    "homepage": "https://github.com/mx-space/core/tree/master/apps/core#readme",
    "issues": "https://github.com/mx-space/core/issues"
}

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Copy link

linear bot commented May 20, 2024

@Innei
Copy link
Member

Innei commented May 20, 2024

你这个问题应该是文件删除失败了,看看日志的错误信息,盲猜是没权限

@yuanxi953
Copy link
Author

yuanxi953 commented May 20, 2024

你这个问题应该是文件删除失败了,看看日志的错误信息,盲猜是没权限

以下是错误日志,我并不太清楚是何原因导致的,可能因为我是Debian?

ERROR [System] 删除文件失败 EXDEV: cross-device link not permitted, rename '/root/.mx-space/static/file/xbs9m63edm48ki5039.png' -> '/tmp/mx-space/trash/xbs9m63edm48ki5039.png'

image

@yuanxi953 yuanxi953 reopened this May 20, 2024
@Innei
Copy link
Member

Innei commented May 20, 2024

错误信息问问 gpt 试试

@Innei Innei changed the title admin_web无法删除文件 admin_web无法删除文件x Jul 13, 2024
@Innei Innei changed the title admin_web无法删除文件x admin_web无法删除文件 Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants