Fixed permissions and path errors.