From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E87fZ-0000Zq-Fg for qemu-devel@nongnu.org; Wed, 24 Aug 2005 22:40:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E87fM-0000Sv-Bk for qemu-devel@nongnu.org; Wed, 24 Aug 2005 22:40:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E87fK-0000Oc-Gt for qemu-devel@nongnu.org; Wed, 24 Aug 2005 22:40:30 -0400 Received: from [206.190.38.246] (helo=web50509.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1E87Pl-0007Dv-6f for qemu-devel@nongnu.org; Wed, 24 Aug 2005 22:24:25 -0400 Message-ID: <20050825022312.75483.qmail@web50509.mail.yahoo.com> Date: Wed, 24 Aug 2005 19:23:11 -0700 (PDT) From: Francois Rioux In-Reply-To: <2ad73a0508240803d9d592d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-905638456-1124936591=:73048" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Read/Write to shares on Windows (XP Pro) host from Windows (2000 Adv) guest. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-905638456-1124936591=:73048 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, What I'm trying to achieve is to write a file from a guest OS to a host. In this case both are Windows OS. I use the user network command line options since I looking for a no install on host, portable solution. I've tried various build in solutions: -tftp (read-only), and -smb (not supported in windows host) do me no good. What I manage to do with a certain success is to map network shares of the host in the guest (net use z: 10.0.2.2\MyShare in the guest). I can browse and read files from the mapped drive. However I can't write to it from the guest. I received an Access Denied message instead even if the share is set so Everyone has Full Control. I don't understand why this doesn't work. Is it Windows preventing the write is the exchange this a limitation in QEMU or in SLiRP? As I understand it SLiRP translates some tcp headers and acts as a firewall preventing incoming calls but autorizes outgoing calls from the guest out. That's why web browsing works in user network mode. Should't file transfer work too? Is the network file sharing protocol more complex than that for writes? Or is that rather a Windows security issue? Any explanation or workaround would be appreciated. Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-905638456-1124936591=:73048 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi,
 
What I'm trying to achieve is to write a file from a guest OS to a host.  In this case both are Windows OS.
 
I use the user network command line options since I looking for a no install on host, portable solution.
 
I've tried various build in solutions: -tftp (read-only), and -smb (not supported in windows host) do me no good.
 
What I manage to do with a certain success is to map network shares of the host in the guest (net use z: 10.0.2.2\MyShare in the guest).  I can browse and read files from the mapped drive.  However I can't write to it from the guest. I received an Access Denied message instead even if the share is set so Everyone has Full Control.
I don't understand why this doesn't work. Is it Windows preventing the write is the exchange this a limitation in QEMU or in SLiRP?  As I understand it SLiRP translates some tcp headers and acts as a firewall preventing incoming calls but autorizes outgoing calls from the guest out.  That's why web browsing works in user network mode.  Should't file transfer work too?  Is the network file sharing protocol more complex than that for writes? Or is that rather a Windows security issue?
 
Any explanation or workaround would be appreciated.
 
Thanks.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --0-905638456-1124936591=:73048--