Unable to browse /var/www/directory

Amrit Pal Pathak amritpalpathak1 at gmail.com
Sat Jul 16 13:09:39 UTC 2011


On Sat, Jul 16, 2011 at 3:49 AM, Md Ashickur Rahman Noor <
ashickur.noor at gmail.com> wrote:

> What does it says? have you change folder permission using chmod?

        Actually sir i am downloading that directory first from server and
then coping it to /var/www through bash scripting.Yes permission has been
changed.Following is the code.please see and tell me what went wrong.

  sudo wget http:/server-name/GNDEC-SMS-Service.tar.gz
sudo chmod 777 -R /var/www/
sudo mv GNDEC-SMS-Service.tar.gz /var/www/

cd /var/www/
sudo tar -zxvf  GNDEC-SMS-Service.tar.gz
sudo chmod 777 GNDEC-SMS-Service

Thanks for support !!
amritpalpathak.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110716/66f39983/attachment.html>


More information about the ubuntu-users mailing list