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

我觉得安装过程中不必确保上传目录 /usr/uploads 可写 #1602

Open
maoxuner opened this issue Jul 13, 2023 · 1 comment
Open
Labels
enhancement Enhancement request

Comments

@maoxuner
Copy link

maoxuner commented Jul 13, 2023

1. 该问题的重现步骤是什么?

在serverless或其他web目录无法设置权限的平台安装typecho

2. 你期待的结果是什么?实际看到的又是什么?

会因为 /usr/uploads 目录无法创建或者不可写导致无法继续安装,且无法生成 config.ini.php 模板文件

3. 问题出现的环境

  • 操作系统版本:-
  • Apache/NGINX 版本:-
  • 数据库版本:-
  • PHP 版本:-
  • Typecho 版本:1.2.1
  • 浏览器版本:-

安装过程的首要目标是生成 config.ini.php 文件(或模板文件),其次是迁移数据库。

再者,有可能会使用oss来存储文件,该场景无需上传目录可写。因此,我觉得对于上传目录的检查可以手动跳过。

@joyqi joyqi added the enhancement Enhancement request label Aug 18, 2023
@joyqi
Copy link
Member

joyqi commented Aug 18, 2023

看起来这是一个非必要的检查,我们还需要检查一下是否有其它必要项依赖它,如果没有就可以去掉它。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement request
Projects
None yet
Development

No branches or pull requests

2 participants