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

上传封面时无法保存上传的图片 #979

Open
jialiang-liu opened this issue Sep 3, 2024 · 0 comments
Open

上传封面时无法保存上传的图片 #979

jialiang-liu opened this issue Sep 3, 2024 · 0 comments

Comments

@jialiang-liu
Copy link

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 MinDoc(godoc_linux_amd64 version)?
    mindoc_linux_amd64 v2.2-beta.1

  2. 你当前使用的是什么操作系统?
    Ubuntu 20.04 LTS

  3. 你是如何操作的?
    在网页项目设置中上传封面

  4. 你期望得到什么结果?
    上传成功

  5. 当前遇到的是什么结果?
    ImageResizeSaveFile => open /home/ubuntu/mindoc/uploads/202409/cover_17f1be0391a1d30b_small.png: permission denied
    当月月份归纳的资源文件夹不存在的情况下,上传封面会出现文件夹无读写权限的问题。可能和BookController.go中,设定月份文件夹的路径后没有对文件夹进行创建有关?

@jialiang-liu jialiang-liu changed the title 上传封面时 上传封面时无法保存上传的图片 Sep 3, 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

1 participant