fixed file permissions in write partition map