Skip to content

Instantly share code, notes, and snippets.

@sixman9
Created June 1, 2015 14:23
Show Gist options
  • Save sixman9/8ac49a601d3e76e33243 to your computer and use it in GitHub Desktop.
Save sixman9/8ac49a601d3e76e33243 to your computer and use it in GitHub Desktop.
Add write permissions by user etc.
for f in `find /the/dir -user THE_USER -maxdepth 1`; do chmod -R g+w "$f"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment