I have a php script to upload file to a folder in my locahost. The folder permission is read only. I belive that is the reason why file is not getting uploaded. I tried changing the permission using following commands,I have a php script to upload file to a folder