Fixed permissions.. Should be 0777 not 777