Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/e2e/test-messaging-providers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,12 @@ fi
whatsapp_qr_preload_stat=$(sandbox_exec "stat -c '%U:%a' /tmp/nemoclaw-whatsapp-qr-compact.js 2>/dev/null || echo missing")
if [ "$whatsapp_qr_preload_stat" = "root:444" ]; then
pass "M-WA6b: WhatsApp compact-QR preload installed root:444 (#4522)"
elif [ "$whatsapp_qr_preload_stat" = "sandbox:444" ]; then
# Non-root sandbox mode: emit_sandbox_sourced_file produces sandbox:444
# because chown root:root is skipped when id -u != 0. The file is still
# read-only (mode 444) which is the security-relevant property; ownership
# differs only in privilege-separation posture (see sandbox-init.sh).
pass "M-WA6b: WhatsApp compact-QR preload installed sandbox:444 (non-root mode) (#4522)"
elif [ "$whatsapp_qr_preload_stat" = "missing" ]; then
fail "M-WA6b: WhatsApp compact-QR preload not installed in sandbox (#4522)"
else
Expand Down
Loading