Issue
I am trying to save a .php file to /var/www/html/mysql using VS Code on Fedora 27 but I get an message saying
Also if I try to open VS Code as root I get the following message:
Solution
You need to change access rights to the folder. There are 2 options.
- sudo chmod 777 /var/www/html/mysql - Changes access rights to the mysql directory
- sudo chmod -R 777 /var/www/html/mysql - Changes access rights to both the mysql directory and all subdirectories inside.
Answered By - Gocareera.ru Answer Checked By - Gilberto Lyons (WPSolving Admin)