I installed the LAMP stack on my Ubuntu 11.04 (Natty Narwhal) with
sudo apt-get install lamp-server^
Now I navigate to
/var/www and use
I get the following error.
--2011-08-03 13:59:00-- http://ftp.drupal.org/files/projects/drupal-7.x-dev.tar.gz Resolving ftp.drupal.org... 22.214.171.124, 126.96.36.199 Connecting to ftp.drupal.org|188.8.131.52|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2757101 (2.6M) [application/x-gzip] drupal-7.x-dev.tar.gz: Permission denied Cannot write to `drupal-7.x-dev.tar.gz' (Permission denied).
How do I resolve this error?
I tried to download the same file in the downloads folder, and it went on without an issue. So it seems to be some permission error, but I'm not sure about that or how to solve it.