On Wed, Mar 21, 2018 at 11:37:59AM -0700, Patrick Bouldin wrote: > Hello, > > I'm simply trying to copy a file to dom0 form work ~/Downloads/ > > Can someone please tell me the precise letters to use if the filename was > qvm-screenshot-to-clipboard.sh and I want to put it in dom0 ~/Downloads/ > > Here is the instruction in the manual: > qvm-run --pass-io <src-vm> 'cat /path/to/file_in_src_domain' > > /path/to/file_name_in_dom0 > > I get permission denied and tried sudo, etc. > > Thought it would be: > > qvm-run --pass-io work ~/Downloads/qvm-screenshot-to-clipboard.sh > > /home/mandoguy/qvm-screenshot-to-clipboard.sh > > > Wish the documentation had real examples. > > Thanks, > Patrick >
Check the permissions on ~/Downloads and /home/mandoguy/qvm-screenshot-to-clipboard.sh in the work qube. Try: qvm-run --pass-io work 'cat /home/mandoguy/qvm-screenshot-to-clipboard.sh'> /home/user/Downloads/qvm-screenshot-to-clipboard.sh If necessary you can use qvm-run -u root -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20180321184426.n7bufmyphxdn3ujd%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.
