DEV Community

Discussion on: Serving a Git repository over HTTP

Collapse
 
swetha1592 profile image
swetha1592

Hi Can u please explain what is www-data here.
Is that an existing folder?

chgrp -R www-data /var/www/html/git
chown -R www-data /var/www/html/git

Collapse
 
jvleminc profile image
Joris Vleminckx

Be sure that apache has been installed after step 1: sudo apt-get install apache2 The user/group should be created by this installation.