Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ## Quickly fix server permissions
  2.  
  3. If you need a quick way to reset your public_html data to 755 for directories and 644 for files, then you can use something like this:
  4. cd /home/user/domains/domain.com/public_html
  5.  
  6. `find . -type d -exec chmod 0755 {} \;`
  7.  
  8. `find . -type f -exec chmod 0644 {} \;`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement