changing permission setting