diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/node-create.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/node-create.c b/libdiskfs/node-create.c index 1ff8ac2b..06a484d8 100644 --- a/libdiskfs/node-create.c +++ b/libdiskfs/node-create.c @@ -63,6 +63,8 @@ diskfs_create_node (struct node *dir, if (err) goto change_err; np->dn_stat.st_uid = newuid; + if (np->author_tracks_uid) + np->dn_stat.st_author = newuid; newgid = dir->dn_stat.st_gid; if (!idvec_contains (cred->user->gids, newgid)) |