update permission for shell