Fixed permissions on Mac