Added setPerm command.

Sets permission of a user.