Problem: How do I set permissions to my files and/or directories without manually setting them up individually?
Note: You may need administrator privileges for these to work, if that’s the case simply add a sudo before typing the commands below.
If you want to chmod all your directories:
find . -type d -exec chmod 755 {} \;
and for files:
find . -type f -exec chmod 644 {} \;
That’s it!
Some links that you might find useful [External]:Related posts:
- How to: Delete/Remove protected folders and files from a previous installation of Windows
- Super Tip! How to Create that floating Facebook toolbar at the bottom of the page!
- Jquery Super Tip! Automatically highlight the links/menu of the current page with 1 line of code
Still can't see what you're looking for?









