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?
644- or even
640- are the recommended permissions to set.