diff options
Diffstat (limited to 'ports')
-rw-r--r-- | ports/unix/guts/mkdirat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/guts/mkdirat.c b/ports/unix/guts/mkdirat.c index a8fd825..5f97ab5 100644 --- a/ports/unix/guts/mkdirat.c +++ b/ports/unix/guts/mkdirat.c @@ -25,6 +25,7 @@ stat_rc = base_fstatat(dirfd, path, &buf, AT_SYMLINK_NOFOLLOW); #endif if (stat_rc != -1) { + buf.st_mode = PSEUDO_DB_MODE(buf.st_mode, mode); pseudo_client_op(OP_MKDIR, 0, -1, dirfd, path, &buf); } else { pseudo_debug(PDBGF_OP, "mkdir of %s succeeded, but stat failed: %s\n", |