diff --git a/userspace/ksud/src/mount.rs b/userspace/ksud/src/mount.rs index 0ebe88667e62..6dd326c159cc 100644 --- a/userspace/ksud/src/mount.rs +++ b/userspace/ksud/src/mount.rs @@ -152,7 +152,9 @@ fn bind_mount(from: impl AsRef, to: impl AsRef) -> Result<()> { let tree = open_tree( CWD, from.as_ref(), - OpenTreeFlags::OPEN_TREE_CLOEXEC | OpenTreeFlags::OPEN_TREE_CLONE, + OpenTreeFlags::OPEN_TREE_CLOEXEC + | OpenTreeFlags::OPEN_TREE_CLONE + | OpenTreeFlags::AT_RECURSIVE, )?; move_mount( tree.as_fd(),