Skip to content

Instantly share code, notes, and snippets.

@AdamLawicki
Created October 18, 2015 19:48
Show Gist options
  • Save AdamLawicki/c427f88a2ed925efd663 to your computer and use it in GitHub Desktop.
Save AdamLawicki/c427f88a2ed925efd663 to your computer and use it in GitHub Desktop.
Change the file permissions of /var/www and subdirectories to add group write permissions (this is recursive)
[ec2-user ~]$ find /var/www -type f -exec sudo chmod 0664 {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment