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:
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.


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/ |
Make a group and add myself?
Actually, I am the only user on this old laptop.