fix(virtiofsd): writing inside guest

This commit is contained in:
Matej Cotman 2026-04-21 22:44:28 +03:00 committed by Dino Korah
parent 6b4f2e603e
commit 092d8d7d80
1 changed files with 2 additions and 0 deletions

View File

@ -1645,6 +1645,8 @@ function start_virtiofsd() {
--socket-path="${VIRTIOFSD_SOCKET}"
--shared-dir="${PUBLIC}"
--announce-submounts
--translate-uid="squash-guest:0:$(id -u):65536" # any guest UID in 0..65535 becomes current host UID
--translate-gid="squash-guest:0:$(id -g):65536" # any guest GID in 0..65535 becomes current host GID
)
# Capture virtiofsd stderr separately so we can inspect it without