Created
December 5, 2012 06:47
-
-
Save biswarupadhikari/4213130 to your computer and use it in GitHub Desktop.
LAMP /var/www/ Permission Setup Ubuntu Localhost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let say your username is adidac | |
$ sudo add user adidac www-data | |
$ sudo chown -R www-data:www-data /var/www/ | |
$ sudo chmod -R g+rw /var/www/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ sudo adduser adidac www-data
$ sudo chown -R www-data:www-data /var/www/
$ sudo chmod -R g+rw /var/www/