feat: xxbb
This commit is contained in:
@@ -388,11 +388,11 @@ tail -n 80 /www/server/php/82/var/log/php-fpm.log
|
||||
|
||||
### `mkdir(): Permission denied` at `Helpers.php` / `public/log`
|
||||
|
||||
C2 中间件会写 `public/log/c2/Ymd.log`。站点运行用户(宝塔多为 `www`)对 `public/log` 无写权限时会报错。
|
||||
C2 中间件会写 `public/log/c2/Ymd.log`(旧版)和 `public/log/xxbb/Ymd.log`(新版短路径)。站点运行用户(宝塔多为 `www`)对 `public/log` 无写权限时会报错。
|
||||
|
||||
```bash
|
||||
cd /www/wwwroot/coruna-lab
|
||||
mkdir -p public/log/c2
|
||||
mkdir -p public/log/c2 public/log/xxbb
|
||||
chown -R www:www public/log storage bootstrap/cache
|
||||
chmod -R ug+rwx public/log storage bootstrap/cache
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user