From e39ead619261bcace5624908075114fc5cb4e426 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 20 Nov 1996 02:56:04 +0000 Subject: (diskfs_create_node): If NP->author_tracks_uid, modify NP->dn_stat.st_author as well. --- libdiskfs/node-create.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdiskfs') 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)) -- cgit v1.2.3