在执行了最近的核心更新(这要求我暂时禁用布局生成器)之后,我的管理工具栏变得灰色,没有格式化,如下所示。我尝试过更改管理主题、重建缓存、禁用CSS等等,但都没有效果。
更新后,我执行了安全检查,这给出了一些关于将数百个文件的权限更改为744的非常糟糕的建议。我听从了这个建议,这完全破坏了网站。在阅读了有关权限的各种指南之后,我将权限还原到我所能找到的最佳推荐权限,但日志中仍然存在权限错误,这些错误可能与此问题有关,也可能与此无关。
13498 11/Jun 17:49 file Error The specified file 'temporary://fileiFPN8R' could not be copied because the destination directory is not properly configured. This may be caused by a problem with file or directory permiss
13497 11/Jun 17:49 file Error The file permissions could not be set on public://css.
13496 11/Jun 17:49 php Warning User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 145 of /home/public/core/lib/Drupal/Component/PhpStorage/FileStorage.php) #0 /h除了尝试还原备份预更新之外,还可以执行哪些其他故障排除步骤?

发布于 2020-06-11 18:39:41
问题来自这个搜索Drupal权限的顶级搜索结果页面顶部的说明。
我为文件目录做了chmod -R 664 files,这显然不足以更改所有文件权限。问题一直持续到通过find files -type f -exec chmod 664 {} \;作为在此描述更改权限为止。
https://drupal.stackexchange.com/questions/294477
复制相似问题