Skip to content

Instantly share code, notes, and snippets.

@o-shabashov
Created September 24, 2013 04:54
Show Gist options
  • Save o-shabashov/6680529 to your computer and use it in GitHub Desktop.
Save o-shabashov/6680529 to your computer and use it in GitHub Desktop.
Linux - to change all the directories to 755 and to change all the files to 644
to change all the directories to 755:
find /opt/lampp/htdocs -type d -exec chmod 755 {} \;
to change all the files to 644:
find /opt/lampp/htdocs -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment