The Problem is rights on the 'var/www' folder. This can be fixed by the terminal or when unziping.
When unziping from the terminal like below it works
sudo unzip CodeIgniter_2.1.4.zip -d /var/www/"desired folder"
Could also be fixed by changing rights after unpacking with GUI interface..
sudo chmod 755 -R www
And to be able to use Netbeans as non sudo user change the folder owner
sudo chown 'user-name' 'folder-name'