NOBUG: fixed file permissions