Skip to content

Instantly share code, notes, and snippets.

@rlandas
Created October 22, 2014 04:56
Show Gist options
  • Save rlandas/020fc3940a8f8ca73bdf to your computer and use it in GitHub Desktop.
Save rlandas/020fc3940a8f8ca73bdf to your computer and use it in GitHub Desktop.
Linux change permission of the "public" folder recursively
find . -type d -name "public" -exec echo {} \; -exec chmod -fR 0775 . \; -exec chown -fR www-data:www-data . \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment