转载于https://www.cnblogs.com/qinshengfei/p/12623471.html
第一次建共享文件成功,第二天就不显示了。然后打了如下这一行命令就成功显示出来 文件夹和它下面的三个txt文件:
[root@localhost ~]# vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other
[root@localhost ~]# cd /root/mnt/hgfs
bash: cd: /root/mnt/hgfs: 没有那个文件或目录
[root@localhost ~]# cd /mnt/hgfs
[root@localhost hgfs]# cd /mnt/hgfs/VMshare
[root@localhost VMshare]# ll
总用量 2
-rwxrwxrwx. 1 root root 5 10月 21 09:51 1.txt
-rwxrwxrwx. 1 root root 15 10月 21 09:47 abc.txt
-rwxrwxrwx. 1 root root 22 10月 19 22:37 linux.txt
[root@localhost VMshare]#