admin管理员组文章数量:1332325
I have the same issue as the below topic, where all my folder are set to 755 but I am unable to run updates or upload new media due to folder permissions. Once I set it to 775, the problem is resolved.
/
However, in this thread above it mentioned to "set ownership of your file tree php user id". In my namesco account I have the below FTP accounts:
example
example_thisisme
The website was uploaded using the example_admin
The owner/group of the files and folders for the website are:
example_thisisme example
If I am able to access the files and folders with the example
and reset the permissions to 755. Will this "set ownership of your file tree php user id" and also fix the problem?
I have the same issue as the below topic, where all my folder are set to 755 but I am unable to run updates or upload new media due to folder permissions. Once I set it to 775, the problem is resolved.
https://wordpress/support/topic/folder-uploads-permission-to-775/
However, in this thread above it mentioned to "set ownership of your file tree php user id". In my namesco account I have the below FTP accounts:
example
example_thisisme
The website was uploaded using the example_admin
The owner/group of the files and folders for the website are:
example_thisisme example
If I am able to access the files and folders with the example
and reset the permissions to 755. Will this "set ownership of your file tree php user id" and also fix the problem?
1 Answer
Reset to default 0If, on your wp-content/uploads directory, 755 doesn't work, but 775 does it means that the group example already contains the 'php user id', so you don't need to do anything else.
More specifically, the web server process (like apache or nginx) both serves your files and runs PHP, so 'php user id' really means (is the same as) the web server user ID. It has its own user and group just like you have a user and group. If 775 makes things work it means that the web server process is in the example group.
Does that help?
本文标签: filesystemFile ownership for file tree php user IDFolder permission 775
版权声明:本文标题:filesystem - File ownership for file tree php user ID - Folder permission 775 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742272220a2444520.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论