On Thu, May 14, 2009 at 3:06 AM, Matthias Teege <matthias-9...@mteege.de> wrote:
> Moin,
>
> I run "vnfs -L -i -b16k -c1k venti.score" on linux and mount it with
> "vmount 127.0.0.1 /dump". If I try to access a private file as root I've
> got "permission denied".

You need to edit src/libdiskfs/*.c to change
the access routines to add

        have = ino.mode&0777;
        if(ino.uid == au->uid)
                have >>= 6;
        else if(ino.gid == au->gid || ingroup(au, ino.gid))
                have >>= 3;
        if(au->uid == 0)        // <<< these two lines
                have = 7;

Russ

Reply via email to