Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tongdaitructuyen/d7f99e9ba115326bd250120b4c2c3eef to your computer and use it in GitHub Desktop.
Save tongdaitructuyen/d7f99e9ba115326bd250120b4c2c3eef to your computer and use it in GitHub Desktop.
find -type d -exec chown -R nginx:nginx {} \;
find -type f -exec chown -R nginx:nginx {} \;
find -type d -exec chmod -R 755 {} \;
find -type f -exec chmod -R 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment