Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1478  / 2 Years ago, thu, january 13, 2022, 5:46:46

Possible Duplicate:

Whats the simplest way to edit and add files to “/var/www”?






I can't seem to move folders or create new folders in the /var/www folder. This is the first time i have tried using Ubuntu and i can't seem to find a reason why i'm not able to move folders, i only have one account so should have all the priviliges.


More From » phpmyadmin

 Answers
0

You need to set the proper filesystem privileges:



sudo chown <youruser>:www-data /var/www
sudo chmod 0775 /var/www
sudo chmod g+s /var/www


Replace <youruser> with your own username. No logout/login required.


[#39490] Friday, January 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tisglitter

Total Points: 307
Total Questions: 103
Total Answers: 119

Location: Bosnia and Herzegovina
Member since Thu, Jun 24, 2021
3 Years ago
tisglitter questions
Sun, Jan 9, 22, 16:18, 2 Years ago
Wed, Jun 1, 22, 18:03, 2 Years ago
Fri, Dec 10, 21, 14:31, 2 Years ago
;