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?

Share Improve this question asked Jul 11, 2020 at 5:25 iamonstageiamonstage 1671 silver badge9 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If, 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