[Ubuntu-BD] php5 on ubuntu

Nasimul Haque nasim.haque at gmail.com
Wed Aug 5 14:13:07 BST 2009


2009/8/5 maSnun <masnun at gmail.com>:
> Thanks. But when I try to remove or add any files to the /var/www directory,
> I am informed that I don't have enough permission. What should I do ?
>

Because, the folder is outside of your home. And you do not have file
permissions outside your home. For developing purpose, you can change
the ownership of /var/www/ to yourself. To do that, you need run this
command:

sudo chown USERNAME:USERGROUP /var/www/

where USERNAME and USERGROUP both should be yours.

But this fix is for development only. In production server, do not do this.

-- 
M. Nasimul Haque, M.Sc.(SUST)
Wessex Institute of Technology
Southampton, UK



More information about the ubuntu-bd mailing list