Replica/applylog creates new dirs with only DMDIR set, then sets mode with a separate wstat. 9vx/devfs-posix.c adds implicit 0400 to mkdir call to sustain till the wstat. This patch makes u9fs to do the same. A fix for replica/applylog to work over unmodified u9fs would be trivial, too.