What is the default wp-content/uploads directory permission? What chmod command do I need to set it correctly?
2 Answers
You’ll want directories to have 755 and files to have 644.
you can navigate to your www directory and use these 2 commands:
find . -type d -print0 | xargs -0 chmod 0755 # For directories
or
find . -type f -print0 | xargs -0 chmod 0644 # For files
(Obviously don’t input the # or anything after it when using the above 2 commands)