Take care of access permission.