-
-
Notifications
You must be signed in to change notification settings - Fork 52
Description
While at this... Would it be possible to use a different path other than
/homeplease? Because that may introduce a risk in context of user-sysmaint-split (and maybe also in context of home noexec).This is the path where qvm-copy puts the file, and copy source (intentionally) has no influence on the directory. While dom0 could use a different mechanism to send the file (even naive
qvm-run ... 'cat > ...'), that would likely lead to other issues.If there was a dom0 wrapper...
qvm-copy-to-path dest_vmname dom0-source-file-or-folder vm-destination-file-or-folderThen
qubes-dist-upgradecould conveniently use it to install the file to a more appropriate location such as in/usr/bin. That would be easier to read than theqvm-run ... 'cat > ...'syntax.A dom0 tool
qvm-copy-to-pathwould be nice to have anyhow for all sorts of system administration tasks. Or at least as an internal tool if not user facing.
Originally posted by @adrelanos in #10437