diff --git a/pkgs/additional/bunpen/restrict/namespace.ha b/pkgs/additional/bunpen/restrict/namespace.ha index 18c54ced5..0f0bd7626 100644 --- a/pkgs/additional/bunpen/restrict/namespace.ha +++ b/pkgs/additional/bunpen/restrict/namespace.ha @@ -180,8 +180,9 @@ fn bind_component(old_fs: *fs::fs, new_fs: *fs::fs, strpath: str) (void | fs::er // }; if (fs::islink(st.mode)) { - log::printfln("TODO: support symlinks ({})", strpath); - return; + let linktext = fs::readlink(old_fs, strpath)?; + fs::symlink(new_fs, linktext, strpath)?; + // TODO: lots of edge cases with symlinks i need to flesh out here. } else if (fs::isdir(st.mode)) { fs::mkdir(new_fs, strpath, st.mode)?; } else {