Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly

shared folder not working after upgrade
by admin
 at 2017-05-22 00: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
vmware-hgfsclient | while read folder; do
  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}"
sleep 2s
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