fix check for access

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
check for privs up front in test

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>