File and folder permissions
I’m trying to find the most secure and working chmod for my WordPress uploads folder. I’ve done some reading at the installation FAQ / Changing File Permission and I got confused by this paragraph:
You can make all the files in your wp-content directory writable in two steps, but before making every single file and folder writable you should first try safer alternatives like modifying just the directory. Try each of these commands first and if they dont work then go recursive, which will make even your themes image files writable. Replace DIR with the folder you want to write in
chmod 746 -v DIR
chmod 747 -v DIR
chmod 756 -v DIR
chmod 757 -v DIR
chmod 764 -v DIR
chmod 765 -v DIR
chmod 766 -v DIR
chmod 767 -v DIR
If those fail to allow you to write, try them all again in order, except this time replace -v with -R, which will recursively change each file located in the folder. If after that you still cant write, you may now try 777.
So to my question: Why is 747 more secure than 777? It still gives write permission to everyone?
- The topic ‘File and folder permissions’ is closed to new replies.