Article 4XVYQ change permissions for /var/www/html

change permissions for /var/www/html

by
Pedroski
from LinuxQuestions.org on (#4XVYQ)
I got a book PHP & MySQL: Novice to Ninja by Kevin Yank. I want to learn a bit about these two topics.

Following the instructions, I installed apache2, mysql and php

I run Ubuntu 18.04. I use Bluefish to make files.

Trouble is, when I want to save the file in /var/www/html from Bluefish, I can't.

I've got to sudo them in.

Quote:
sudo mv /home/pedro/Desktop/today.php /var/www/html/
Without causing a security problem, what is the best way to change the permissions?

Make a group and add myself?

Actually, I am the only user on this old laptop.latest?d=yIl2AUoC8zA latest?i=VAGIicPOk7Y:ebnP1ufwLPg:F7zBnMy latest?i=VAGIicPOk7Y:ebnP1ufwLPg:V_sGLiP latest?d=qj6IDK7rITs latest?i=VAGIicPOk7Y:ebnP1ufwLPg:gIN9vFwVAGIicPOk7Y
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments