wp-content – permissions for files/folders created by apache
My wp-content folder has owner
User and group
www-data. The permissions are 775 for folders and 664 for files, so the server can write inside the folder.
But when the server creates folder and files inside wp-content ( when installing theme ), they have the server as owner ( and the server’s primary group ) and they get 755 for folder and 644 for files.
So I can’t keep all folders and files of a WordPress installation under
How can I make all newly created folders and files created by server inside
wp-content inherit the ones that the parent folder has?