On Sun, Oct 4, 2009 at 8:22 AM, erik quanstrom <[email protected]> wrote:
>> 13293 mkdir("/mnt/sdb1/tc/plan9/9vx-0.12/sys/lib/texmf/bibtex/bst", 0)
>> = -1 EACCES (Permission denied)
>>
>
> perhaps replica is expecting specific error messages
> and they're not getting translated
>
> ; cd /n/sources/plan9/`{pwd}
> ; g strstr
> applylog.c:161:         if(strstr(buf, "entry not found") || strstr(buf, "not 
> exist"))
> applylog.c:1036:                if(strstr(err, "permission") == nil)
> updatedb.c:107:         p = strstr(msg, ": ");
> updatedb.c:123:                 if(cistrstr(p, "hungup") || cistrstr(p, 
> "Hangup")
> updatedb.c:124:                 || cistrstr(p, "rpc error")
> updatedb.c:125:                 || cistrstr(p, "shut down")
> updatedb.c:126:                 || cistrstr(p, "i/o")
> updatedb.c:127:                 || cistrstr(p, "connection"))

Even if this is not it, you raise a possible issue: for things like
devfs-posix.c we may need to map error strings as in the previous
patch for oserror(). I just looked for strcmp in the kernel ... OK,
good point, I'll look at this later. I don't see this explaining a
mkdir with mode of 0 however.

ron

Reply via email to