Maybe the ownership is set to the wrong user.
Read this part of this article https://wordpress.org/support/article/changing-file-permissions/#permission-scheme-for-wordpress
paying special attention to where it says…
Any file that needs write access from WordPress should be owned or group-owned by the user account used by WordPress (which may be different than the server account).
Thanks for your attention,
I read the article, and is not the problem.
I have ftp access to all files from the folder with the websites and administration permission on the wordpress.
The problem is that anyone with the path …../wp-content/uploads can see all the files in the folder.
This is happening, because to do a upload from wordpress of any file, even me, with administraion permission, if it is not 777, doesn’t work.
—————
UPLOADING
Dismiss Errors
RNP azul menor.png
Unable to create directory wp-content/uploads/2019/06. Is its parent directory writable by the server?
———————-
So, I must change to 777. But with 777, anyone through any browser can see all the files. AND THIS BECAME A SEROIUS SECURITY ISSUE.
Can you still help me, please?
Phil
(@owendevelopment)
You should not use 777 as a permission, this poses a security threat as it allows full access to read, write and execute code on your server.
WordPress recommends 755 for folders/directories and 644 for files.
More here:
Changing File Permissions
If your server is only allowing uploads with 777 permissions, I would contact your host for them to check over the ownership/user.
I know that i shouldn’t use 777. Even 775 gives to anyone access to the uploads folder.
I am using because is the only way to upload any file.
Well, thanks for your attention.
I will contact the the responsable of our host
Best regards,
Araci