How do I give permission to var www html in Ubuntu?

Khánh Đoan

New member
How do I give permission to var www html in Ubuntu?
Answer
Leave a comment
  1. Establish a [new directory] at /var/www.
  2. Change the directory owner and group: sudo chown www-data:www-data /var/www/[new directory]
  3. allow the group to write to the directory with appropriate permissions: sudo chmod -R 775 /var/www.
  4. Add myself to the www-data group:
 

Tìm kiếm

Back
Top