Skip to content

Instantly share code, notes, and snippets.

@goromlagche
Created February 14, 2014 09:23
Show Gist options
  • Save goromlagche/8998190 to your computer and use it in GitHub Desktop.
Save goromlagche/8998190 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo -R chown simp:www-data $1
find $1 -type d -exec chmod 775 {} \;
find $1 -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment