NOBUG: fix file permissions