summaryrefslogtreecommitdiff
path: root/trans/fakeroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/fakeroot.c')
-rw-r--r--trans/fakeroot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 920367d1..68826182 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -399,6 +399,8 @@ netfs_S_dir_lookup (struct protid *diruser,
}
else
{
+ err = netfs_attempt_chown (user, np, 0, 0);
+ assert_perror (err); /* Our netfs_attempt_chown cannot fail. */
*retry_port = ports_get_right (newpi);
*retry_port_type = MACH_MSG_TYPE_MAKE_SEND;
ports_port_deref (newpi);