Created
May 8, 2015 13:09
-
-
Save scicco/abcfeb6da5b2548f8012 to your computer and use it in GitHub Desktop.
patch for vmware tool for ubuntu shared folder problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
# | |
# found here: http://askubuntu.com/a/592127 | |
# | |
cd /usr/lib/vmware-tools/modules/source | |
tar xf vmhgfs.tar | |
grep -q d_u.d_alias vmhgfs-only/inode.c && echo "already patched" && exit 0 | |
sed -i -e s/d_alias/d_u.d_alias/ vmhgfs-only/inode.c | |
cp -p vmhgfs.tar vmhgfs.tar.orig | |
tar cf vmhgfs.tar vmhgfs-only | |
vmware-config-tools.pl -d -m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment