There is a very (in)famous permissions glitch or settings if you host your WordPress website on Amazon Linux instance. If you keep user:group permissions to default ec2-user:apache then you are able to login to sftp and download upload files just…
I am on ENTOS 7.6 xen. In order to fix some permissions error n files I ran the following while staying on the parent folder to public_html
chown -R mysiteaccount:mysiteaccount public_html
You might face permission problems while editing and saving some system files on Windows. While searching something over there i found this information as a possible fix for such permission warnings.