This is a minor change to replica so it could think that a failed directory creation on the client did not actually fail if the problem was just that the directory was already in the client. Reference: /n/sources/patch/applied/replicacreatedirfix Date: Mon Mar 16 18:29:04 CET 2009 Signed-off-by: nemo@lsub.org --- /sys/src/cmd/replica/applylog.c Mon Mar 16 18:26:04 2009 +++ /sys/src/cmd/replica/applylog.c Mon Mar 16 18:26:00 2009 @@ -410,7 +410,10 @@ if(donothing) break; if(rd.mode&DMDIR){ - if((fd = create(local, OREAD, DMDIR)) < 0){ + fd = create(local, OREAD, DMDIR); + if(fd < 0 && isdir(local)) + fd = open(local, OREAD); + if(fd < 0){ error("mkdir %q: %r", name); skip = 1; continue;