saving . . . saved Confirm paths in localhost has been deleted. Confirm paths in localhost has been hidden .
Confirm paths in localhost
I did all things for Moodle and reach up to localhost

for confirm paths and doing next I got error  "Parent directory (/var/www) is not writeable. Data directory (/var/www/moodle) cannot be created by the installer."

Can this error removable?
please find the way for error.

Moodle-Learning-Management-System Course-Administration-in-Moodle 12-13 min 30-40 sec 11-04-20, 10:57 p.m. prem1914


You can manually create moodledata folder:
mkdir /var/www/moodledata 
chmod 0777 /var/www/moodledata

or give write permission to /var/www folder temporarily:
chmod 0777 /var/www/
and then reset it to 755

Check out official Moodle doc:
12-04-20, 9:03 p.m. kashmira.n

Log-in to answer to this question.