chmod è un comando che serve per cambiare i permessi ai file:
http://it.php.net/manual/it/function.chmod.php

ciao