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 15b617ee..d958e58f 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -163,6 +163,8 @@ netfs_validate_stat (struct node *np, struct iouser *cred)
st.st_mode = np->nn_stat.st_mode;
np->nn_stat = st;
+ np->nn_translated = S_ISLNK (st.st_mode) ? S_IFLNK : 0;
+
return 0;
}