Win7 vmware ubuntu 11.10 implements file sharing through samba. In fact, it shares files with virtual machines. The simplest method is to create a USB flash disk. This is to configure samba (the installation won't go into the software center .. Directly), it seems that only virtual machines can be shared to the host's sub-Environment: win7 32-bit VMware 8 ubuntu 11.10 function: win7 access the ubuntu shared folder www.2cto.com 1. install samba $ sudo apt-get install smbfs 2. start samba $ sudo service smbd start 3. create a shared folder $ cd ~ $ Mkdir share $ chmod 777-R share 4. configure samba $ sudo cp/etc/samba/smb. conf/etc/samba/smb. conf_back $ gedit/etc/samba/smb. conf is added under the line "# security = user": security = user username map =/etc/samba/smbusers, and the line "workgroup = WORKGROUP" is changed: workgroup = MSHOM www.2cto.com Add the following three lines below: display charset = UTF-8 unix charset = UTF-8 dos charset = cp936 Add the following lines at the end of the file (Chinese to replace ): [Share] comment = Shared Folder With username and password path =/home/user name/share public = yes writable = yes valid users = user name for access create mask = 0700 directory mask = 0700 force user = nobody force group = nogroup available = yes browseable = yes 5. set the access permission sudo smbpasswd-a. If the "user name allowed to access" does not exist, add the user first: the User Name www.2cto.com $ sudo gedit/etc/samba/smbusers that sudo useradd allows access to add this line: new = "network username" 6. restart samba sudo smb D restart sudo nmbd restart 7. Access win + r under win7 and enter \ ubuntu ip to open the shared directory in ubuntu. Author dengzhangtao