需要更改文件/文件夹的权限
在 textpattern 的诊断部分中,它给了我错误:
“文件目录路径不可写:...html/textpattern/files”(取出路径的开头)
我更改了 textpattern 文件夹的权限,并且名为的文件夹“files”,位于根文件夹而不是 textpattern 文件夹中,但它仍然给出错误。我是否需要更改 textattern 文件夹中所有包含的项目的权限,而不仅仅是文件夹本身?
In the diagnostics sections in textpattern, it's giving me the error:
"File directory path is not writable:...html/textpattern/files" (took out beginning of path)
I changed the permissions for the textpattern folder, and the folder named "files", which is in the root folder not in the textpattern folder, but it's still giving the error. Do I need to change permissions for all enclosed items of the textattern folder and not just the folder itself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许我误解了你,但我想你只需将管理面板中文件文件夹的路径从“…html/textpattern/files”更改为“…/html/files”。
Maybe I got you wrong but I suppose you simply have to change the path to the files folder in your admin panel from "…html/textpattern/files" to "…/html/files".
假设您在 *nix 系统上...
听起来您想递归地更改权限。
一个快速修复可能是像这样更改权限:
此命令将遍历每个文件夹和文件并更改其权限(
-R
打开递归位)。警告,这非常广泛,对于生产来说不是一个好主意。
更好的方法是以更细粒度更改权限。 Google 搜索“Linux 文件权限”或在 shell 中输入
man chown
。Assuming you're on a *nix system...
It sounds like you want to change the permissions recursively.
A quick fix might be to change the permissions like so:
This command will go through every folder and file and change its permissions (the
-R
turns on the recursive bit).Warning, this is very broad and not a good idea for production.
A better approach would be to change the permissions at a finer level of granularity. Google for "Linux file permissions" or type
man chown
at the shell.