private function setPermissions($hookFile) { $permissions = new Process(sprintf('chmod 775 %s%s', $this->hookDir, $hookFile)); $permissions->run(); }