Fix #413, Fix access permissions