Skip to content

Instantly share code, notes, and snippets.

@codeasashu
Last active May 17, 2016 14:20
Show Gist options
  • Save codeasashu/f482a4a68725c54252bceeb892a24f03 to your computer and use it in GitHub Desktop.
Save codeasashu/f482a4a68725c54252bceeb892a24f03 to your computer and use it in GitHub Desktop.
How to enable current linux user to add or edit files in recently installed LAMP stack
sudo adduser <username> www-data
sudo chown -R www-data:www-data /var/www
sudo chmod -R g+rwX /var/www
@codeasashu
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment