This question already has an answer here:
When I write this to give permission to www directory:
zeb@zeb-Lenovo-B570:/var$ chmod 251 www/ zeb@zeb-Lenovo-B570:/var/www$ ls
Its gives error:
ls: cannot open directory .: Permission denied
I want to give permission to www folder so that I put my .php file here.