Changing permissions field types.

Signed-off-by: Ben Corlett <bencorlett@me.com>