Ubuntu找不到VMware共享的文件夹

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 17:57   2367   0

一、进入/mnt目录。

cd /mnt

二、查看有没有hgfs文件夹,没有进行创建。

ms@ubuntu:~$ cd /mnt
ms@ubuntu:/mnt$ ls
ms@ubuntu:/mnt$ mkdir hgfs
mkdir: cannot create directory ‘hgfs’: Permission denied
ms@ubuntu:/mnt$ sudo mkdir hgfs

三、执行sudo vmhgfs-fuse /mnt/hgfs进行挂载,虽挂载成功,但必须是root用户才能正常使用,也无法修改权限。

ms@ubuntu:/mnt$ sudo vmhgfs-fuse /mnt/hgfs
ms@ubuntu:/mnt$ ls hgfs
ls: cannot access 'hgfs': Permission denied
ms@ubuntu:/mnt$ sudo ls
hgfs
ms@ubuntu:/mnt$ sudo ls hgfs
D  E  F
ms@ubuntu:/mnt$ sudo ls -al
total 13
drwxr-xr-x  3 root root 4096 Nov  3 14:10 .
drwxr-xr-x 21 root root 4096 Nov  3 11:52 ..
dr-xr-xr-x  1 root root 4192 Nov  3 14:19 hgfs
ms@ubuntu:/mnt$ sudo chmod 777 hgfs
chmod: changing permissions of 'hgfs': No such file or directory

四、挂载并增加读写权限。

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP