Change mod for both dir & file