Some fixes with PRIV_ROOT