On 21 June 2011 15:14, ashwin kesavan <ashwin.chn@xxxxxxxxx> wrote: > On 21 June 2011 12:44, Robin Ladwal <robin_ladwal@xxxxxxxxxxx> wrote: >> Dear Praveen >> >> >> 1. Please check that whether owner of /var/www has changed or not using "ls >> -l /var |grep www" >> >> 2. If the owner is still root then use "sudo chown -R www-data:www-data >> /var/www" and enter your account password to authenticate or simply run >> command being logged in as root >> >> 3. Now if you wanna create a folder or file then you must add www-data to >> your group using "sudo addgroup <username> www-data" and change group >> permission to write using "sudo chmod g+rw /var/www" >> > > Guys what the OP needs is not spoon feeding, but reading about linux > (or any *nix) basics. If we were to spoon feed him then it goes on in > a ever cycling phase of he coming back with next problem and finally > decides to leave Linux. So in the best interest of praveen and the LUG > i point him to first read the following and familiarize himself before > posting to LUG. As anybody would expect, i think praveen has not > googled it before asking here. So he does not show he has put some > effort before going for help. Lazy ?? > Ok here are the link to what you should be knowing to start working on Linux, > > http://www.redhat.com/mirrors/LDP/LDP/sag/html/ > http://rute.2038bug.com/index.html.gz > http://www.linuxhomenetworking.com/ > > Note: You don't have to read the whole of the above links , but just > skim through it and read in depth of thing which you find interesting > and coming back to read more when you feel like. > Also read the most important "How to become a hacker?" by eric s raymonds. http://www.catb.org/~esr/faqs/hacker-howto.html This is not like the other docs. Read it in its entirety from start to end. And don't skip. > HTH > > > --ashwin >