(shmif) permission fixes for darwin