I have downloaded Apache on Ubuntu by following this tutorial. It installed the Apache nicely and it is running successfully but there is one problem which is a huge one. I do not have permissions to Write to /var/www folder although I am Administrator. The current owner of that www
folder is root. I have installed Ubuntu today so I don't know much about it. I have used chown
command but it throws error : Operation not permitted.
Can anybody tell me so that I can have Read & Write permissions?
sudo
in front of your command. And the user and group of things inside/var/www/
should not beroot
butapache
orwww-data
;) (see the apache.conf or sites-enabled for the correct one). – Rinzwind Sep 05 '13 at 13:07sudo
, gives us Super User priviliges. Let me run the command ;) – Muhammad Talha Akbar Sep 05 '13 at 13:11