To edit files in your “/var/www” folder without making the directory 777 permission do the following:
1 | sudo adduser <username> www-data |
Remember to logout and log back in to take effect.
To edit files in your “/var/www” folder without making the directory 777 permission do the following:
1 | sudo adduser <username> www-data |
Remember to logout and log back in to take effect.