shared folder not working after upgrade
at 2017-05-22 04:08:00.
Open vm tools share folder may not work after a linux upgrade.
you can try to reinstall dkms
apt-get remove open-vm-dkms apt-get install open-vm-dkms
This forces the kernal to recompile with vmhgfs support.
or uninstall and reinstall open vm tools
install open-vm-tools-desktop fuse
and the run this command:
cat <<EOF > /usr/local/sbin/mount-shared-folders
#!/bin/bash
vmware-hgfsclient | while read folder; do
vmwpath="/mnt/hgfs/\${folder}"
echo "[i] Mounting \${folder} (\${vmwpath})"
mkdir -p "\${vmwpath}"
umount -f "\${vmwpath}" 2>/dev/null
vmhgfs-fuse -o allow_other -o auto_unmount ".host:/\${folder}" "\${vmwpath}"
done
sleep 2s
EOF
chmod +x /usr/local/sbin/mount-shared-folders
and the create a shortcut for it:
ln -sf /usr/local/sbin/mount-shared-folders /root/Desktop/mount-shared-folders.sh gsettings set org.gnome.nautilus.preferences executable-text-activation 'ask'
if that didn't fix the issue you can try (usually for older models)
git clone https://github.com/rasa/vmware-tools-patches.git
cd vmware-tools-patches
./patched-open-vm-tools.sh