unarchiving and permissions, fix