Well just ssh into your server and (this is the way i do it) run mc and you'll get a norton commander like screen. Go to your ibay and click on options (or something like that just find the chmod command). Then you just have to chmod (give correct write permissions) to your files.
Or you can use chmod command trough console.