2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 4073
/ 2 Years ago, tue, may 3, 2022, 11:00:44
I'm new to Ubuntu.
I have installed LAMP on Ubuntu and everything is OK but while I copy a folder into /var/www
it is not accessible via URL. I have tried following commands:
sudo cp -r Desktop/site /var/www
sudo chown myuser /var/www -R
sudo chmod 755 /var/www -R
Also:
sudo chown myuser /var/www/site -R
sudo chmod 755 /var/www/site -R
I event don't see the folder while try list directories (http://localhost/
). However, it's ok while I create a folder manually using sudoo mkdir
command.
What should I do and what's the matter ?
More From » permissions