0

I apologise for the basic question, but I am quite new to SSH and it is a bit difficult. I used

chmod -R 755

but it seems to reset all the files to 755 as well.

Thanks in advance!

Kenster
  • 23,465
  • 21
  • 80
  • 106
  • 1
    Here is a good SO question with excellent answers : [Wordpress Permissions](https://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress) – KGreene Oct 23 '19 at 15:42
  • 1
    Possible duplicate of [Correct file permissions for WordPress](https://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress) – KGreene Oct 23 '19 at 15:43

1 Answers1

0

first :

chmod -R 644 *

second :

 find . -type d -exec chmod 0755 {} \;

i hope it works

sara m
  • 17
  • 4