fixed directory permission.