add directory permission