chmod è un comando unix... se sei sotto server linux è normale che non funzioni