Check for PERMISSION_GRANTED for 'permissions' console command. Fixes issue #120