Add a check for $UID (ie. not root) before every permissions check.
Add a check for $UID (ie. not root) before every permissions check.

I see this as a temporary hack until the permissions checks get fixed
in libdb to handle root.

nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome