Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thamaraiselvam/d701d27ceee80f8c871c081867e1febb to your computer and use it in GitHub Desktop.
Save thamaraiselvam/d701d27ceee80f8c871c081867e1febb to your computer and use it in GitHub Desktop.
Change folder and files permission to 755 / 644 recursively

Use to set 755 for all the folders recursively

sudo find . -type d -exec chmod 0755 {} \;

Use to set 644 for all the files recursively

sudo find . -type f -exec chmod 0644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment