-2

I have reviewed the following link Chmod to allow read and write permissions for directory

However when I run chmod 755 I get chmod: -R: No such file or directory

This is what I tried to do chmod 755 -R /Applications/MAMP/htdocs/bethel/wp-content

I would like to know what is missing.

James Gacuca
  • 11
  • 1
  • 1

1 Answers1

2

The options/flags should come before the mode you're trying to set. So the correct syntax is:

chmod -R 755 /Applications/MAMP/htdocs/bethel/wp-content
techraf
  • 4,852
  • 11
  • 24
  • 40
Mureinik
  • 3,974
  • 11
  • 28
  • 32